﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DS" targetNamespace="http://tempuri.org/DS.xsd" xmlns:mstns="http://tempuri.org/DS.xsd" xmlns="http://tempuri.org/DS.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Karbel4ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Karbel4ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.TX.Properties.Settings.GlobalReference.Default.Karbel4ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AddressTableAdapter" GeneratorDataComponentClassName="AddressTableAdapter" Name="Address" UserDataComponentName="AddressTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Address" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Address] WHERE (([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Address] ([AddressLine1], [AddressLine2], [City], [State], [CountryCode], [PostalCode], [UseCount], [ModifiedDate], [ModifiedBy]) VALUES (@AddressLine1, @AddressLine2, @City, @State, @CountryCode, @PostalCode, @UseCount, @ModifiedDate, @ModifiedBy);
SELECT AddressId, AddressLine1, AddressLine2, City, State, CountryCode, PostalCode, UseCount, ModifiedDate, ModifiedBy, TS FROM Address WHERE (AddressId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AddressLine1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AddressLine2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@State" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AddressId, AddressLine1, AddressLine2, City, State, CountryCode, PostalCode, UseCount, ModifiedDate, ModifiedBy, TS FROM dbo.Address</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Address] SET [AddressLine1] = @AddressLine1, [AddressLine2] = @AddressLine2, [City] = @City, [State] = @State, [CountryCode] = @CountryCode, [PostalCode] = @PostalCode, [UseCount] = @UseCount, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT AddressId, AddressLine1, AddressLine2, City, State, CountryCode, PostalCode, UseCount, ModifiedDate, ModifiedBy, TS FROM Address WHERE (AddressId = @AddressId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AddressLine1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AddressLine1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AddressLine2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AddressLine2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@State" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AddressId" ColumnName="AddressId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AddressId" DataSetColumn="AddressId" />
              <Mapping SourceColumn="AddressLine1" DataSetColumn="AddressLine1" />
              <Mapping SourceColumn="AddressLine2" DataSetColumn="AddressLine2" />
              <Mapping SourceColumn="City" DataSetColumn="City" />
              <Mapping SourceColumn="State" DataSetColumn="State" />
              <Mapping SourceColumn="CountryCode" DataSetColumn="CountryCode" />
              <Mapping SourceColumn="PostalCode" DataSetColumn="PostalCode" />
              <Mapping SourceColumn="UseCount" DataSetColumn="UseCount" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VendorContactTableAdapter" GeneratorDataComponentClassName="VendorContactTableAdapter" Name="VendorContact" UserDataComponentName="VendorContactTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.VendorContact" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[VendorContact] WHERE (([VendorId] = @Original_VendorId) AND ([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[VendorContact] ([VendorId], [ContactId], [ContactTypeId], [ModifiedDate], [ModifiedBy]) VALUES (@VendorId, @ContactId, @ContactTypeId, @ModifiedDate, @ModifiedBy);
SELECT VendorId, ContactId, ContactTypeId, ModifiedDate, ModifiedBy, TS FROM VendorContact WHERE (ContactId = @ContactId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT VendorId, ContactId, ContactTypeId, ModifiedDate, ModifiedBy, TS FROM dbo.VendorContact</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[VendorContact] SET [VendorId] = @VendorId, [ContactId] = @ContactId, [ContactTypeId] = @ContactTypeId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([VendorId] = @Original_VendorId) AND ([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT VendorId, ContactId, ContactTypeId, ModifiedDate, ModifiedBy, TS FROM VendorContact WHERE (ContactId = @ContactId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="ContactTypeId" DataSetColumn="ContactTypeId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AddressTypeTableAdapter" GeneratorDataComponentClassName="AddressTypeTableAdapter" Name="AddressType" UserDataComponentName="AddressTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.AddressType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[AddressType] WHERE (([AddressTypeId] = @Original_AddressTypeId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AddressType] ([Name]) VALUES (@Name);
SELECT AddressTypeId, Name FROM AddressType WHERE (AddressTypeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AddressTypeId, Name FROM dbo.AddressType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[AddressType] SET [Name] = @Name WHERE (([AddressTypeId] = @Original_AddressTypeId) AND ([Name] = @Original_Name));
SELECT AddressTypeId, Name FROM AddressType WHERE (AddressTypeId = @AddressTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AddressTypeId" ColumnName="AddressTypeId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AddressTypeId" DataSetColumn="AddressTypeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AlisSekliTableAdapter" GeneratorDataComponentClassName="AlisSekliTableAdapter" Name="AlisSekli" UserDataComponentName="AlisSekliTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.AlisSekli" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[AlisSekli] WHERE (([AlisSekliId] = @Original_AlisSekliId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AlisSekli] ([Name]) VALUES (@Name);
SELECT AlisSekliId, Name FROM AlisSekli WHERE (AlisSekliId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AlisSekliId, Name FROM dbo.AlisSekli</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[AlisSekli] SET [Name] = @Name WHERE (([AlisSekliId] = @Original_AlisSekliId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT AlisSekliId, Name FROM AlisSekli WHERE (AlisSekliId = @AlisSekliId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AlisSekliId" ColumnName="AlisSekliId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AlisSekliId" DataSetColumn="AlisSekliId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BankAccountTableAdapter" GeneratorDataComponentClassName="BankAccountTableAdapter" Name="BankAccount" UserDataComponentName="BankAccountTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.BankAccount" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[BankAccount] WHERE (([BankAccountId] = @Original_BankAccountId) AND ([BankName] = @Original_BankName) AND ([BranchName] = @Original_BranchName) AND ([BranchCode] = @Original_BranchCode) AND ([CountryCode] = @Original_CountryCode) AND ((@IsNull_AccountNumber = 1 AND [AccountNumber] IS NULL) OR ([AccountNumber] = @Original_AccountNumber)) AND ((@IsNull_IBANCode = 1 AND [IBANCode] IS NULL) OR ([IBANCode] = @Original_IBANCode)) AND ((@IsNull_UseCount = 1 AND [UseCount] IS NULL) OR ([UseCount] = @Original_UseCount)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BankName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BankName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BranchName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BranchCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AccountNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IBANCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IBANCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IBANCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IBANCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[BankAccount] ([BankName], [BranchName], [BranchCode], [CountryCode], [AccountNumber], [IBANCode], [UseCount]) VALUES (@BankName, @BranchName, @BranchCode, @CountryCode, @AccountNumber, @IBANCode, @UseCount);
SELECT BankAccountId, BankName, BranchName, BranchCode, CountryCode, AccountNumber, IBANCode, UseCount FROM BankAccount WHERE (BankAccountId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BankName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BankName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BranchName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BranchCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IBANCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IBANCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BankAccountId, BankName, BranchName, BranchCode, CountryCode, AccountNumber, IBANCode, UseCount FROM dbo.BankAccount</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[BankAccount] SET [BankName] = @BankName, [BranchName] = @BranchName, [BranchCode] = @BranchCode, [CountryCode] = @CountryCode, [AccountNumber] = @AccountNumber, [IBANCode] = @IBANCode, [UseCount] = @UseCount WHERE (([BankAccountId] = @Original_BankAccountId) AND ([BankName] = @Original_BankName) AND ([BranchName] = @Original_BranchName) AND ([BranchCode] = @Original_BranchCode) AND ([CountryCode] = @Original_CountryCode) AND ((@IsNull_AccountNumber = 1 AND [AccountNumber] IS NULL) OR ([AccountNumber] = @Original_AccountNumber)) AND ((@IsNull_IBANCode = 1 AND [IBANCode] IS NULL) OR ([IBANCode] = @Original_IBANCode)) AND ((@IsNull_UseCount = 1 AND [UseCount] IS NULL) OR ([UseCount] = @Original_UseCount)));
SELECT BankAccountId, BankName, BranchName, BranchCode, CountryCode, AccountNumber, IBANCode, UseCount FROM BankAccount WHERE (BankAccountId = @BankAccountId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BankName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BankName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BranchName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BranchCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IBANCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IBANCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BankName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BankName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BranchName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BranchCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BranchCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AccountNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IBANCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IBANCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IBANCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IBANCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UseCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UseCount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BankAccountId" ColumnName="BankAccountId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BankAccountId" DataSetColumn="BankAccountId" />
              <Mapping SourceColumn="BankName" DataSetColumn="BankName" />
              <Mapping SourceColumn="BranchName" DataSetColumn="BranchName" />
              <Mapping SourceColumn="BranchCode" DataSetColumn="BranchCode" />
              <Mapping SourceColumn="CountryCode" DataSetColumn="CountryCode" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="IBANCode" DataSetColumn="IBANCode" />
              <Mapping SourceColumn="UseCount" DataSetColumn="UseCount" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BelgeTipiTableAdapter" GeneratorDataComponentClassName="BelgeTipiTableAdapter" Name="BelgeTipi" UserDataComponentName="BelgeTipiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.BelgeTipi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[BelgeTipi] WHERE (([BelgeTipiId] = @Original_BelgeTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[BelgeTipi] ([Name]) VALUES (@Name);
SELECT BelgeTipiId, Name FROM BelgeTipi WHERE (BelgeTipiId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BelgeTipiId, Name FROM dbo.BelgeTipi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[BelgeTipi] SET [Name] = @Name WHERE (([BelgeTipiId] = @Original_BelgeTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT BelgeTipiId, Name FROM BelgeTipi WHERE (BelgeTipiId = @BelgeTipiId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BelgeTipiId" ColumnName="BelgeTipiId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BelgeTipiId" DataSetColumn="BelgeTipiId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BillOfMaterialsTableAdapter" GeneratorDataComponentClassName="BillOfMaterialsTableAdapter" Name="BillOfMaterials" UserDataComponentName="BillOfMaterialsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.BillOfMaterials" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[BillOfMaterials] WHERE (((@IsNull_ProductAssemblyId = 1 AND [ProductAssemblyId] IS NULL) OR ([ProductAssemblyId] = @Original_ProductAssemblyId)) AND ([ComponentId] = @Original_ComponentId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductAssemblyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductAssemblyId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductAssemblyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductAssemblyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ComponentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ComponentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[BillOfMaterials] ([ProductAssemblyId], [ComponentId], [StartDate], [EndDate], [UnitMeasureId], [BOMLevel], [PerAssemblyQty], [CustomerSupplied], [Position], [ModifiedDate], [ModifiedBy]) VALUES (@ProductAssemblyId, @ComponentId, @StartDate, @EndDate, @UnitMeasureId, @BOMLevel, @PerAssemblyQty, @CustomerSupplied, @Position, @ModifiedDate, @ModifiedBy);
SELECT BillOfMaterialsId, ProductAssemblyId, ComponentId, StartDate, EndDate, UnitMeasureId, BOMLevel, PerAssemblyQty, CustomerSupplied, Position, ModifiedDate, ModifiedBy, TS FROM BillOfMaterials WHERE (BillOfMaterialsId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductAssemblyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductAssemblyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ComponentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ComponentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@BOMLevel" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="BOMLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PerAssemblyQty" Precision="8" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PerAssemblyQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CustomerSupplied" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CustomerSupplied" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Position" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Position" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BillOfMaterialsId, ProductAssemblyId, ComponentId, StartDate, EndDate, UnitMeasureId, BOMLevel, PerAssemblyQty, CustomerSupplied, Position, ModifiedDate, ModifiedBy, TS FROM dbo.BillOfMaterials</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[BillOfMaterials] SET [ProductAssemblyId] = @ProductAssemblyId, [ComponentId] = @ComponentId, [StartDate] = @StartDate, [EndDate] = @EndDate, [UnitMeasureId] = @UnitMeasureId, [BOMLevel] = @BOMLevel, [PerAssemblyQty] = @PerAssemblyQty, [CustomerSupplied] = @CustomerSupplied, [Position] = @Position, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (((@IsNull_ProductAssemblyId = 1 AND [ProductAssemblyId] IS NULL) OR ([ProductAssemblyId] = @Original_ProductAssemblyId)) AND ([ComponentId] = @Original_ComponentId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT BillOfMaterialsId, ProductAssemblyId, ComponentId, StartDate, EndDate, UnitMeasureId, BOMLevel, PerAssemblyQty, CustomerSupplied, Position, ModifiedDate, ModifiedBy, TS FROM BillOfMaterials WHERE (BillOfMaterialsId = @BillOfMaterialsId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductAssemblyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductAssemblyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ComponentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ComponentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@BOMLevel" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="BOMLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PerAssemblyQty" Precision="8" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PerAssemblyQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CustomerSupplied" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CustomerSupplied" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Position" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Position" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductAssemblyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductAssemblyId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductAssemblyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductAssemblyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ComponentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ComponentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BillOfMaterialsId" ColumnName="BillOfMaterialsId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BillOfMaterialsId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="BillOfMaterialsId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BillOfMaterialsId" DataSetColumn="BillOfMaterialsId" />
              <Mapping SourceColumn="ProductAssemblyId" DataSetColumn="ProductAssemblyId" />
              <Mapping SourceColumn="ComponentId" DataSetColumn="ComponentId" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
              <Mapping SourceColumn="UnitMeasureId" DataSetColumn="UnitMeasureId" />
              <Mapping SourceColumn="BOMLevel" DataSetColumn="BOMLevel" />
              <Mapping SourceColumn="PerAssemblyQty" DataSetColumn="PerAssemblyQty" />
              <Mapping SourceColumn="CustomerSupplied" DataSetColumn="CustomerSupplied" />
              <Mapping SourceColumn="Position" DataSetColumn="Position" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CarrierTableAdapter" GeneratorDataComponentClassName="CarrierTableAdapter" Name="Carrier" UserDataComponentName="CarrierTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Carrier" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Carrier] WHERE (([CarrierId] = @Original_CarrierId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Carrier] ([Name]) VALUES (@Name);
SELECT CarrierId, Name FROM Carrier WHERE (CarrierId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CarrierId, Name FROM dbo.Carrier</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Carrier] SET [Name] = @Name WHERE (([CarrierId] = @Original_CarrierId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT CarrierId, Name FROM Carrier WHERE (CarrierId = @CarrierId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CarrierId" ColumnName="CarrierId" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CarrierId" DataSetColumn="CarrierId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContactTableAdapter" GeneratorDataComponentClassName="ContactTableAdapter" Name="Contact" UserDataComponentName="ContactTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Contact" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Contact] WHERE (([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Contact] ([Title], [FirstName], [MiddleName], [LastName], [EmailAddress], [Phone1], [Phone2], [Mobile], [AdditionalContactInfo], [Photo], [Notes], [ModifiedDate], [ModifiedBy], [Username], [PasswordHash], [PasswordSalt], [SqlUser], [IsActive]) VALUES (@Title, @FirstName, @MiddleName, @LastName, @EmailAddress, @Phone1, @Phone2, @Mobile, @AdditionalContactInfo, @Photo, @Notes, @ModifiedDate, @ModifiedBy, @Username, @PasswordHash, @PasswordSalt, @SqlUser, @IsActive);
SELECT ContactId, Title, FirstName, MiddleName, LastName, EmailAddress, Phone1, Phone2, Mobile, AdditionalContactInfo, Photo, Notes, ModifiedDate, ModifiedBy, TS, Username, PasswordHash, PasswordSalt, SqlUser, IsActive FROM Contact WHERE (ContactId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@EmailAddress" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="EmailAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@AdditionalContactInfo" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="AdditionalContactInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordHash" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordSalt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordSalt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SqlUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SqlUser" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsActive" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsActive" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ContactId, Title, FirstName, MiddleName, LastName, EmailAddress, Phone1, Phone2, Mobile, AdditionalContactInfo, Photo, Notes, ModifiedDate, ModifiedBy, TS, Username, PasswordHash, PasswordSalt, SqlUser, IsActive FROM dbo.Contact</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Contact] SET [Title] = @Title, [FirstName] = @FirstName, [MiddleName] = @MiddleName, [LastName] = @LastName, [EmailAddress] = @EmailAddress, [Phone1] = @Phone1, [Phone2] = @Phone2, [Mobile] = @Mobile, [AdditionalContactInfo] = @AdditionalContactInfo, [Photo] = @Photo, [Notes] = @Notes, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy, [Username] = @Username, [PasswordHash] = @PasswordHash, [PasswordSalt] = @PasswordSalt, [SqlUser] = @SqlUser, [IsActive] = @IsActive WHERE (([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ContactId, Title, FirstName, MiddleName, LastName, EmailAddress, Phone1, Phone2, Mobile, AdditionalContactInfo, Photo, Notes, ModifiedDate, ModifiedBy, TS, Username, PasswordHash, PasswordSalt, SqlUser, IsActive FROM Contact WHERE (ContactId = @ContactId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@EmailAddress" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="EmailAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@AdditionalContactInfo" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="AdditionalContactInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordHash" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordSalt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordSalt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SqlUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SqlUser" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsActive" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsActive" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ContactId" ColumnName="ContactId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
              <Mapping SourceColumn="MiddleName" DataSetColumn="MiddleName" />
              <Mapping SourceColumn="LastName" DataSetColumn="LastName" />
              <Mapping SourceColumn="EmailAddress" DataSetColumn="EmailAddress" />
              <Mapping SourceColumn="Phone1" DataSetColumn="Phone1" />
              <Mapping SourceColumn="Phone2" DataSetColumn="Phone2" />
              <Mapping SourceColumn="Mobile" DataSetColumn="Mobile" />
              <Mapping SourceColumn="AdditionalContactInfo" DataSetColumn="AdditionalContactInfo" />
              <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
              <Mapping SourceColumn="Username" DataSetColumn="Username" />
              <Mapping SourceColumn="PasswordHash" DataSetColumn="PasswordHash" />
              <Mapping SourceColumn="PasswordSalt" DataSetColumn="PasswordSalt" />
              <Mapping SourceColumn="SqlUser" DataSetColumn="SqlUser" />
              <Mapping SourceColumn="IsActive" DataSetColumn="IsActive" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContactTypeTableAdapter" GeneratorDataComponentClassName="ContactTypeTableAdapter" Name="ContactType" UserDataComponentName="ContactTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ContactType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ContactType] WHERE (([ContactTypeId] = @Original_ContactTypeId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ContactType] ([Name]) VALUES (@Name);
SELECT ContactTypeId, Name FROM ContactType WHERE (ContactTypeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ContactTypeId, Name FROM dbo.ContactType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ContactType] SET [Name] = @Name WHERE (([ContactTypeId] = @Original_ContactTypeId) AND ([Name] = @Original_Name));
SELECT ContactTypeId, Name FROM ContactType WHERE (ContactTypeId = @ContactTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ContactTypeId" ColumnName="ContactTypeId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ContactTypeId" DataSetColumn="ContactTypeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CountryTableAdapter" GeneratorDataComponentClassName="CountryTableAdapter" Name="Country" UserDataComponentName="CountryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Country" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Country] WHERE (([CountryCode] = @Original_CountryCode) AND ([Name] = @Original_Name) AND ((@IsNull_Territory = 1 AND [Territory] IS NULL) OR ([Territory] = @Original_Territory)) AND ((@IsNull_OriginId = 1 AND [OriginId] IS NULL) OR ([OriginId] = @Original_OriginId)) AND ((@IsNull_CultureId = 1 AND [CultureId] IS NULL) OR ([CultureId] = @Original_CultureId)) AND ((@IsNull_CurrencyCode = 1 AND [CurrencyCode] IS NULL) OR ([CurrencyCode] = @Original_CurrencyCode)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Territory" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CultureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Country] ([CountryCode], [Name], [Territory], [OriginId], [CultureId], [CurrencyCode], [ActiveFlag]) VALUES (@CountryCode, @Name, @Territory, @OriginId, @CultureId, @CurrencyCode, @ActiveFlag);
SELECT CountryCode, Name, Territory, OriginId, CultureId, CurrencyCode, ActiveFlag FROM Country WHERE (CountryCode = @CountryCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CountryCode, Name, Territory, OriginId, CultureId, CurrencyCode, ActiveFlag FROM dbo.Country</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Country] SET [CountryCode] = @CountryCode, [Name] = @Name, [Territory] = @Territory, [OriginId] = @OriginId, [CultureId] = @CultureId, [CurrencyCode] = @CurrencyCode, [ActiveFlag] = @ActiveFlag WHERE (([CountryCode] = @Original_CountryCode) AND ([Name] = @Original_Name) AND ((@IsNull_Territory = 1 AND [Territory] IS NULL) OR ([Territory] = @Original_Territory)) AND ((@IsNull_OriginId = 1 AND [OriginId] IS NULL) OR ([OriginId] = @Original_OriginId)) AND ((@IsNull_CultureId = 1 AND [CultureId] IS NULL) OR ([CultureId] = @Original_CultureId)) AND ((@IsNull_CurrencyCode = 1 AND [CurrencyCode] IS NULL) OR ([CurrencyCode] = @Original_CurrencyCode)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)));
SELECT CountryCode, Name, Territory, OriginId, CultureId, CurrencyCode, ActiveFlag FROM Country WHERE (CountryCode = @CountryCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Territory" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CultureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CountryCode" DataSetColumn="CountryCode" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Territory" DataSetColumn="Territory" />
              <Mapping SourceColumn="OriginId" DataSetColumn="OriginId" />
              <Mapping SourceColumn="CultureId" DataSetColumn="CultureId" />
              <Mapping SourceColumn="CurrencyCode" DataSetColumn="CurrencyCode" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CultureTableAdapter" GeneratorDataComponentClassName="CultureTableAdapter" Name="Culture" UserDataComponentName="CultureTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Culture" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Culture] WHERE (([CultureId] = @Original_CultureId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Culture] ([CultureId], [Name]) VALUES (@CultureId, @Name);
SELECT CultureId, Name FROM Culture WHERE (CultureId = @CultureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CultureId, Name FROM dbo.Culture</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Culture] SET [CultureId] = @CultureId, [Name] = @Name WHERE (([CultureId] = @Original_CultureId) AND ([Name] = @Original_Name));
SELECT CultureId, Name FROM Culture WHERE (CultureId = @CultureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CultureId" DataSetColumn="CultureId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CurrencyTableAdapter" GeneratorDataComponentClassName="CurrencyTableAdapter" Name="Currency" UserDataComponentName="CurrencyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Currency" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Currency] WHERE (([CurrencyCode] = @Original_CurrencyCode) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Currency] ([CurrencyCode], [Name]) VALUES (@CurrencyCode, @Name);
SELECT CurrencyCode, Name FROM Currency WHERE (CurrencyCode = @CurrencyCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CurrencyCode, Name FROM dbo.Currency</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Currency] SET [CurrencyCode] = @CurrencyCode, [Name] = @Name WHERE (([CurrencyCode] = @Original_CurrencyCode) AND ([Name] = @Original_Name));
SELECT CurrencyCode, Name FROM Currency WHERE (CurrencyCode = @CurrencyCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CurrencyCode" DataSetColumn="CurrencyCode" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CurrencyRateTableAdapter" GeneratorDataComponentClassName="CurrencyRateTableAdapter" Name="CurrencyRate" UserDataComponentName="CurrencyRateTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.CurrencyRate" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[CurrencyRate] WHERE (([CurrencyRateId] = @Original_CurrencyRateId) AND ([CurrencyRateDate] = @Original_CurrencyRateDate) AND ([FromCurrencyCode] = @Original_FromCurrencyCode) AND ([ToCurrencyCode] = @Original_ToCurrencyCode) AND ([Rate] = @Original_Rate))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyRateId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CurrencyRateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CurrencyRateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_FromCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FromCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ToCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ToCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Rate" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CurrencyRate] ([CurrencyRateDate], [FromCurrencyCode], [ToCurrencyCode], [Rate]) VALUES (@CurrencyRateDate, @FromCurrencyCode, @ToCurrencyCode, @Rate);
SELECT CurrencyRateId, CurrencyRateDate, FromCurrencyCode, ToCurrencyCode, Rate FROM CurrencyRate WHERE (CurrencyRateId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CurrencyRateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CurrencyRateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@FromCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FromCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ToCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ToCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Rate" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CurrencyRateId, CurrencyRateDate, FromCurrencyCode, ToCurrencyCode, Rate FROM dbo.CurrencyRate</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[CurrencyRate] SET [CurrencyRateDate] = @CurrencyRateDate, [FromCurrencyCode] = @FromCurrencyCode, [ToCurrencyCode] = @ToCurrencyCode, [Rate] = @Rate WHERE (([CurrencyRateId] = @Original_CurrencyRateId) AND ([CurrencyRateDate] = @Original_CurrencyRateDate) AND ([FromCurrencyCode] = @Original_FromCurrencyCode) AND ([ToCurrencyCode] = @Original_ToCurrencyCode) AND ([Rate] = @Original_Rate));
SELECT CurrencyRateId, CurrencyRateDate, FromCurrencyCode, ToCurrencyCode, Rate FROM CurrencyRate WHERE (CurrencyRateId = @CurrencyRateId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CurrencyRateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CurrencyRateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@FromCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FromCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ToCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ToCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Rate" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyRateId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CurrencyRateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CurrencyRateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_FromCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FromCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ToCurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ToCurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Rate" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Rate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CurrencyRateId" ColumnName="CurrencyRateId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CurrencyRateId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CurrencyRateId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CurrencyRateId" DataSetColumn="CurrencyRateId" />
              <Mapping SourceColumn="CurrencyRateDate" DataSetColumn="CurrencyRateDate" />
              <Mapping SourceColumn="FromCurrencyCode" DataSetColumn="FromCurrencyCode" />
              <Mapping SourceColumn="ToCurrencyCode" DataSetColumn="ToCurrencyCode" />
              <Mapping SourceColumn="Rate" DataSetColumn="Rate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerTableAdapter" GeneratorDataComponentClassName="CustomerTableAdapter" Name="Customer" UserDataComponentName="CustomerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Customer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Customer] WHERE (([CustomerId] = @Original_CustomerId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Customer] ([AccountNumber], [Name], [Demographics], [CountryCode], [PreferredShipMethod], [PreferredPaymentTerm], [VergiDairesi], [VergiNo], [ModifiedDate], [ModifiedBy]) VALUES (@AccountNumber, @Name, @Demographics, @CountryCode, @PreferredShipMethod, @PreferredPaymentTerm, @VergiDairesi, @VergiNo, @ModifiedDate, @ModifiedBy);
SELECT CustomerId, AccountNumber, Name, Demographics, CountryCode, PreferredShipMethod, PreferredPaymentTerm, VergiDairesi, VergiNo, ModifiedDate, ModifiedBy, TS FROM Customer WHERE (CustomerId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@Demographics" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="Demographics" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiDairesi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiDairesi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerId, AccountNumber, Name, Demographics, CountryCode, PreferredShipMethod, PreferredPaymentTerm, VergiDairesi, VergiNo, ModifiedDate, ModifiedBy, TS FROM dbo.Customer</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Customer] SET [AccountNumber] = @AccountNumber, [Name] = @Name, [Demographics] = @Demographics, [CountryCode] = @CountryCode, [PreferredShipMethod] = @PreferredShipMethod, [PreferredPaymentTerm] = @PreferredPaymentTerm, [VergiDairesi] = @VergiDairesi, [VergiNo] = @VergiNo, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([CustomerId] = @Original_CustomerId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT CustomerId, AccountNumber, Name, Demographics, CountryCode, PreferredShipMethod, PreferredPaymentTerm, VergiDairesi, VergiNo, ModifiedDate, ModifiedBy, TS FROM Customer WHERE (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@Demographics" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="Demographics" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiDairesi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiDairesi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CustomerId" ColumnName="CustomerId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Demographics" DataSetColumn="Demographics" />
              <Mapping SourceColumn="CountryCode" DataSetColumn="CountryCode" />
              <Mapping SourceColumn="PreferredShipMethod" DataSetColumn="PreferredShipMethod" />
              <Mapping SourceColumn="PreferredPaymentTerm" DataSetColumn="PreferredPaymentTerm" />
              <Mapping SourceColumn="VergiDairesi" DataSetColumn="VergiDairesi" />
              <Mapping SourceColumn="VergiNo" DataSetColumn="VergiNo" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerAddressTableAdapter" GeneratorDataComponentClassName="CustomerAddressTableAdapter" Name="CustomerAddress" UserDataComponentName="CustomerAddressTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.CustomerAddress" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[CustomerAddress] WHERE (([CustomerId] = @Original_CustomerId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CustomerAddress] ([CustomerId], [AddressId], [AddressTypeId], [ModifiedDate], [ModifiedBy]) VALUES (@CustomerId, @AddressId, @AddressTypeId, @ModifiedDate, @ModifiedBy);
SELECT CustomerId, AddressId, AddressTypeId, ModifiedDate, ModifiedBy, TS FROM CustomerAddress WHERE (AddressId = @AddressId) AND (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerId, AddressId, AddressTypeId, ModifiedDate, ModifiedBy, TS FROM dbo.CustomerAddress</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[CustomerAddress] SET [CustomerId] = @CustomerId, [AddressId] = @AddressId, [AddressTypeId] = @AddressTypeId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([CustomerId] = @Original_CustomerId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT CustomerId, AddressId, AddressTypeId, ModifiedDate, ModifiedBy, TS FROM CustomerAddress WHERE (AddressId = @AddressId) AND (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="AddressId" DataSetColumn="AddressId" />
              <Mapping SourceColumn="AddressTypeId" DataSetColumn="AddressTypeId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerBankAccountTableAdapter" GeneratorDataComponentClassName="CustomerBankAccountTableAdapter" Name="CustomerBankAccount" UserDataComponentName="CustomerBankAccountTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.CustomerBankAccount" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[CustomerBankAccount] WHERE (([BankAccountId] = @Original_BankAccountId) AND ([CustomerId] = @Original_CustomerId) AND ((@IsNull_Preferred = 1 AND [Preferred] IS NULL) OR ([Preferred] = @Original_Preferred)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Preferred" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CustomerBankAccount] ([BankAccountId], [CustomerId], [Preferred]) VALUES (@BankAccountId, @CustomerId, @Preferred);
SELECT BankAccountId, CustomerId, Preferred FROM CustomerBankAccount WHERE (BankAccountId = @BankAccountId) AND (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BankAccountId, CustomerId, Preferred FROM dbo.CustomerBankAccount</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[CustomerBankAccount] SET [BankAccountId] = @BankAccountId, [CustomerId] = @CustomerId, [Preferred] = @Preferred WHERE (([BankAccountId] = @Original_BankAccountId) AND ([CustomerId] = @Original_CustomerId) AND ((@IsNull_Preferred = 1 AND [Preferred] IS NULL) OR ([Preferred] = @Original_Preferred)));
SELECT BankAccountId, CustomerId, Preferred FROM CustomerBankAccount WHERE (BankAccountId = @BankAccountId) AND (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Preferred" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BankAccountId" DataSetColumn="BankAccountId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="Preferred" DataSetColumn="Preferred" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerBrandTableAdapter" GeneratorDataComponentClassName="CustomerBrandTableAdapter" Name="CustomerBrand" UserDataComponentName="CustomerBrandTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.CustomerBrand" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[CustomerBrand] WHERE (([BrandId] = @Original_BrandId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_CustomerId = 1 AND [CustomerId] IS NULL) OR ([CustomerId] = @Original_CustomerId)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BrandId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BrandId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CustomerBrand] ([Name], [CustomerId], [StartDate], [EndDate]) VALUES (@Name, @CustomerId, @StartDate, @EndDate);
SELECT BrandId, Name, CustomerId, StartDate, EndDate FROM CustomerBrand WHERE (BrandId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BrandId, Name, CustomerId, StartDate, EndDate FROM dbo.CustomerBrand</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[CustomerBrand] SET [Name] = @Name, [CustomerId] = @CustomerId, [StartDate] = @StartDate, [EndDate] = @EndDate WHERE (([BrandId] = @Original_BrandId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_CustomerId = 1 AND [CustomerId] IS NULL) OR ([CustomerId] = @Original_CustomerId)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)));
SELECT BrandId, Name, CustomerId, StartDate, EndDate FROM CustomerBrand WHERE (BrandId = @BrandId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BrandId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BrandId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BrandId" ColumnName="BrandId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BrandId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="BrandId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BrandId" DataSetColumn="BrandId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerContactTableAdapter" GeneratorDataComponentClassName="CustomerContactTableAdapter" Name="CustomerContact" UserDataComponentName="CustomerContactTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.CustomerContact" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[CustomerContact] WHERE (([CustomerId] = @Original_CustomerId) AND ([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CustomerContact] ([CustomerId], [ContactId], [ContactTypeId], [ModifiedDate], [ModifiedBy]) VALUES (@CustomerId, @ContactId, @ContactTypeId, @ModifiedDate, @ModifiedBy);
SELECT CustomerId, ContactId, ContactTypeId, ModifiedDate, ModifiedBy, TS FROM CustomerContact WHERE (ContactId = @ContactId) AND (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerId, ContactId, ContactTypeId, ModifiedDate, ModifiedBy, TS FROM dbo.CustomerContact</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[CustomerContact] SET [CustomerId] = @CustomerId, [ContactId] = @ContactId, [ContactTypeId] = @ContactTypeId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([CustomerId] = @Original_CustomerId) AND ([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT CustomerId, ContactId, ContactTypeId, ModifiedDate, ModifiedBy, TS FROM CustomerContact WHERE (ContactId = @ContactId) AND (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="ContactTypeId" DataSetColumn="ContactTypeId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DeliveryTermTableAdapter" GeneratorDataComponentClassName="DeliveryTermTableAdapter" Name="DeliveryTerm" UserDataComponentName="DeliveryTermTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.DeliveryTerm" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DeliveryTerm] WHERE (([DeliveryTermId] = @Original_DeliveryTermId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DeliveryTerm] ([Name]) VALUES (@Name);
SELECT DeliveryTermId, Name FROM DeliveryTerm WHERE (DeliveryTermId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT DeliveryTermId, Name FROM dbo.DeliveryTerm</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DeliveryTerm] SET [Name] = @Name WHERE (([DeliveryTermId] = @Original_DeliveryTermId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT DeliveryTermId, Name FROM DeliveryTerm WHERE (DeliveryTermId = @DeliveryTermId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="DeliveryTermId" ColumnName="DeliveryTermId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DeliveryTermId" DataSetColumn="DeliveryTermId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DepartmentTableAdapter" GeneratorDataComponentClassName="DepartmentTableAdapter" Name="Department" UserDataComponentName="DepartmentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Department" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Department] WHERE (([DepartmentId] = @Original_DepartmentId) AND ([Name] = @Original_Name) AND ([GroupName] = @Original_GroupName))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Department] ([Name], [GroupName]) VALUES (@Name, @GroupName);
SELECT DepartmentId, Name, GroupName FROM Department WHERE (DepartmentId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT DepartmentId, Name, GroupName FROM dbo.Department</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Department] SET [Name] = @Name, [GroupName] = @GroupName WHERE (([DepartmentId] = @Original_DepartmentId) AND ([Name] = @Original_Name) AND ([GroupName] = @Original_GroupName));
SELECT DepartmentId, Name, GroupName FROM Department WHERE (DepartmentId = @DepartmentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="DepartmentId" ColumnName="DepartmentId" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DepartmentId" DataSetColumn="DepartmentId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="GroupName" DataSetColumn="GroupName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DocumentTableAdapter" GeneratorDataComponentClassName="DocumentTableAdapter" Name="Document" UserDataComponentName="DocumentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.[Document]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Document] WHERE (([DocumentId] = @Original_DocumentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DocumentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DocumentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Document] ([Title], [FileName], [FileExtension], [Revision], [ChangeNumber], [Status], [DocumentSummary], [Document], [ModifiedDate], [ModifiedBy]) VALUES (@Title, @FileName, @FileExtension, @Revision, @ChangeNumber, @Status, @DocumentSummary, @Document, @ModifiedDate, @ModifiedBy);
SELECT DocumentId, Title, FileName, FileExtension, Revision, ChangeNumber, Status, DocumentSummary, [Document], ModifiedDate, ModifiedBy, TS FROM [Document] WHERE (DocumentId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FileName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FileExtension" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FileExtension" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Revision" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Revision" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ChangeNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ChangeNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DocumentSummary" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DocumentSummary" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Document" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Document" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT DocumentId, Title, FileName, FileExtension, Revision, ChangeNumber, Status, DocumentSummary, Document, ModifiedDate, ModifiedBy, TS FROM dbo.Document</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Document] SET [Title] = @Title, [FileName] = @FileName, [FileExtension] = @FileExtension, [Revision] = @Revision, [ChangeNumber] = @ChangeNumber, [Status] = @Status, [DocumentSummary] = @DocumentSummary, [Document] = @Document, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([DocumentId] = @Original_DocumentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT DocumentId, Title, FileName, FileExtension, Revision, ChangeNumber, Status, DocumentSummary, [Document], ModifiedDate, ModifiedBy, TS FROM [Document] WHERE (DocumentId = @DocumentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FileName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FileName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FileExtension" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FileExtension" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Revision" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Revision" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ChangeNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ChangeNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DocumentSummary" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DocumentSummary" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Document" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Document" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DocumentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DocumentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="DocumentId" ColumnName="DocumentId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@DocumentId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="DocumentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DocumentId" DataSetColumn="DocumentId" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="FileName" DataSetColumn="FileName" />
              <Mapping SourceColumn="FileExtension" DataSetColumn="FileExtension" />
              <Mapping SourceColumn="Revision" DataSetColumn="Revision" />
              <Mapping SourceColumn="ChangeNumber" DataSetColumn="ChangeNumber" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="DocumentSummary" DataSetColumn="DocumentSummary" />
              <Mapping SourceColumn="Document" DataSetColumn="Document" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EmployeeTableAdapter" GeneratorDataComponentClassName="EmployeeTableAdapter" Name="Employee" UserDataComponentName="EmployeeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Employee" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Employee] WHERE (([EmployeeId] = @Original_EmployeeId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Employee] ([ContactId], [LoginId], [ManagerId], [DepartmentId], [Title], [BirthDate], [MaritalStatus], [Gender], [ActiveFlag], [ModifiedDate], [ModifiedBy]) VALUES (@ContactId, @LoginId, @ManagerId, @DepartmentId, @Title, @BirthDate, @MaritalStatus, @Gender, @ActiveFlag, @ModifiedDate, @ModifiedBy);
SELECT EmployeeId, ContactId, LoginId, ManagerId, DepartmentId, Title, BirthDate, MaritalStatus, Gender, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Employee WHERE (EmployeeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LoginId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LoginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ManagerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@MaritalStatus" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT EmployeeId, ContactId, LoginId, ManagerId, DepartmentId, Title, BirthDate, MaritalStatus, Gender, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM dbo.Employee</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Employee] SET [ContactId] = @ContactId, [LoginId] = @LoginId, [ManagerId] = @ManagerId, [DepartmentId] = @DepartmentId, [Title] = @Title, [BirthDate] = @BirthDate, [MaritalStatus] = @MaritalStatus, [Gender] = @Gender, [ActiveFlag] = @ActiveFlag, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([EmployeeId] = @Original_EmployeeId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT EmployeeId, ContactId, LoginId, ManagerId, DepartmentId, Title, BirthDate, MaritalStatus, Gender, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Employee WHERE (EmployeeId = @EmployeeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LoginId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LoginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ManagerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@MaritalStatus" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="EmployeeId" ColumnName="EmployeeId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EmployeeId" DataSetColumn="EmployeeId" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="LoginId" DataSetColumn="LoginId" />
              <Mapping SourceColumn="ManagerId" DataSetColumn="ManagerId" />
              <Mapping SourceColumn="DepartmentId" DataSetColumn="DepartmentId" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="BirthDate" DataSetColumn="BirthDate" />
              <Mapping SourceColumn="MaritalStatus" DataSetColumn="MaritalStatus" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EmployeeAddressTableAdapter" GeneratorDataComponentClassName="EmployeeAddressTableAdapter" Name="EmployeeAddress" UserDataComponentName="EmployeeAddressTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.EmployeeAddress" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[EmployeeAddress] WHERE (([EmployeeId] = @Original_EmployeeId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[EmployeeAddress] ([EmployeeId], [AddressId], [ModifiedDate], [ModifiedBy]) VALUES (@EmployeeId, @AddressId, @ModifiedDate, @ModifiedBy);
SELECT EmployeeId, AddressId, ModifiedDate, ModifiedBy, TS FROM EmployeeAddress WHERE (AddressId = @AddressId) AND (EmployeeId = @EmployeeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT EmployeeId, AddressId, ModifiedDate, ModifiedBy, TS FROM dbo.EmployeeAddress</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[EmployeeAddress] SET [EmployeeId] = @EmployeeId, [AddressId] = @AddressId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([EmployeeId] = @Original_EmployeeId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT EmployeeId, AddressId, ModifiedDate, ModifiedBy, TS FROM EmployeeAddress WHERE (AddressId = @AddressId) AND (EmployeeId = @EmployeeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EmployeeId" DataSetColumn="EmployeeId" />
              <Mapping SourceColumn="AddressId" DataSetColumn="AddressId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ExpenseMatrixTableAdapter" GeneratorDataComponentClassName="ExpenseMatrixTableAdapter" Name="ExpenseMatrix" UserDataComponentName="ExpenseMatrixTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ExpenseMatrix" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ExpenseMatrix] WHERE (([DeliveryTermId] = @Original_DeliveryTermId) AND ([OriginId] = @Original_OriginId) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Percentage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ExpenseMatrix] ([DeliveryTermId], [OriginId], [Percentage]) VALUES (@DeliveryTermId, @OriginId, @Percentage);
SELECT DeliveryTermId, OriginId, Percentage FROM ExpenseMatrix WHERE (DeliveryTermId = @DeliveryTermId) AND (OriginId = @OriginId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT DeliveryTermId, OriginId, Percentage FROM dbo.ExpenseMatrix</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ExpenseMatrix] SET [DeliveryTermId] = @DeliveryTermId, [OriginId] = @OriginId, [Percentage] = @Percentage WHERE (([DeliveryTermId] = @Original_DeliveryTermId) AND ([OriginId] = @Original_OriginId) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage)));
SELECT DeliveryTermId, OriginId, Percentage FROM ExpenseMatrix WHERE (DeliveryTermId = @DeliveryTermId) AND (OriginId = @OriginId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Percentage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DeliveryTermId" DataSetColumn="DeliveryTermId" />
              <Mapping SourceColumn="OriginId" DataSetColumn="OriginId" />
              <Mapping SourceColumn="Percentage" DataSetColumn="Percentage" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ExpensePercentageTableAdapter" GeneratorDataComponentClassName="ExpensePercentageTableAdapter" Name="ExpensePercentage" UserDataComponentName="ExpensePercentageTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ExpensePercentage" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ExpensePercentage] WHERE (([ExpensePercentageId] = @Original_ExpensePercentageId) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Percentage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ExpensePercentage] ([Percentage], [Name]) VALUES (@Percentage, @Name);
SELECT ExpensePercentageId, Percentage, Name FROM ExpensePercentage WHERE (ExpensePercentageId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ExpensePercentageId, Percentage, Name FROM dbo.ExpensePercentage</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ExpensePercentage] SET [Percentage] = @Percentage, [Name] = @Name WHERE (([ExpensePercentageId] = @Original_ExpensePercentageId) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT ExpensePercentageId, Percentage, Name FROM ExpensePercentage WHERE (ExpensePercentageId = @ExpensePercentageId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Percentage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ExpensePercentageId" ColumnName="ExpensePercentageId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ExpensePercentageId" DataSetColumn="ExpensePercentageId" />
              <Mapping SourceColumn="Percentage" DataSetColumn="Percentage" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FaturaTableAdapter" GeneratorDataComponentClassName="FaturaTableAdapter" Name="Fatura" UserDataComponentName="FaturaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Fatura" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Fatura] WHERE (([FaturaId] = @Original_FaturaId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Fatura] ([PurchaseOrderId], [Tarih], [BelgeTipiId], [FaturaTarihi], [FaturaNo], [IrsaliyeTarihi], [IrsaliyeNo], [VendorId], [isClosed], [OwnerId], [CurrencyCode], [Freight], [GrandTotal], [AlisSekliId], [PaymentTermId], [DeliveryTermId], [ExpensePercentageId], [CarrierId], [ReferansNo], [ModifiedDate], [ModifiedBy]) VALUES (@PurchaseOrderId, @Tarih, @BelgeTipiId, @FaturaTarihi, @FaturaNo, @IrsaliyeTarihi, @IrsaliyeNo, @VendorId, @isClosed, @OwnerId, @CurrencyCode, @Freight, @GrandTotal, @AlisSekliId, @PaymentTermId, @DeliveryTermId, @ExpensePercentageId, @CarrierId, @ReferansNo, @ModifiedDate, @ModifiedBy);
SELECT FaturaId, PurchaseOrderId, Tarih, BelgeTipiId, FaturaTarihi, FaturaNo, IrsaliyeTarihi, IrsaliyeNo, VendorId, isClosed, OwnerId, CurrencyCode, Freight, GrandTotal, AlisSekliId, PaymentTermId, DeliveryTermId, ExpensePercentageId, CarrierId, ReferansNo, ModifiedDate, ModifiedBy, TS FROM Fatura WHERE (FaturaId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Tarih" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Tarih" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@FaturaTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="FaturaTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FaturaNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FaturaNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@IrsaliyeTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="IrsaliyeTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IrsaliyeNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IrsaliyeNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OwnerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OwnerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@GrandTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReferansNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReferansNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FaturaId, PurchaseOrderId, Tarih, BelgeTipiId, FaturaTarihi, FaturaNo, IrsaliyeTarihi, IrsaliyeNo, VendorId, isClosed, OwnerId, CurrencyCode, Freight, GrandTotal, AlisSekliId, PaymentTermId, DeliveryTermId, ExpensePercentageId, CarrierId, ReferansNo, ModifiedDate, ModifiedBy, TS FROM dbo.Fatura</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Fatura] SET [PurchaseOrderId] = @PurchaseOrderId, [Tarih] = @Tarih, [BelgeTipiId] = @BelgeTipiId, [FaturaTarihi] = @FaturaTarihi, [FaturaNo] = @FaturaNo, [IrsaliyeTarihi] = @IrsaliyeTarihi, [IrsaliyeNo] = @IrsaliyeNo, [VendorId] = @VendorId, [isClosed] = @isClosed, [OwnerId] = @OwnerId, [CurrencyCode] = @CurrencyCode, [Freight] = @Freight, [GrandTotal] = @GrandTotal, [AlisSekliId] = @AlisSekliId, [PaymentTermId] = @PaymentTermId, [DeliveryTermId] = @DeliveryTermId, [ExpensePercentageId] = @ExpensePercentageId, [CarrierId] = @CarrierId, [ReferansNo] = @ReferansNo, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([FaturaId] = @Original_FaturaId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT FaturaId, PurchaseOrderId, Tarih, BelgeTipiId, FaturaTarihi, FaturaNo, IrsaliyeTarihi, IrsaliyeNo, VendorId, isClosed, OwnerId, CurrencyCode, Freight, GrandTotal, AlisSekliId, PaymentTermId, DeliveryTermId, ExpensePercentageId, CarrierId, ReferansNo, ModifiedDate, ModifiedBy, TS FROM Fatura WHERE (FaturaId = @FaturaId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Tarih" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Tarih" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@FaturaTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="FaturaTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FaturaNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FaturaNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@IrsaliyeTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="IrsaliyeTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IrsaliyeNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IrsaliyeNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OwnerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OwnerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@GrandTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReferansNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReferansNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="FaturaId" ColumnName="FaturaId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FaturaId" DataSetColumn="FaturaId" />
              <Mapping SourceColumn="PurchaseOrderId" DataSetColumn="PurchaseOrderId" />
              <Mapping SourceColumn="Tarih" DataSetColumn="Tarih" />
              <Mapping SourceColumn="BelgeTipiId" DataSetColumn="BelgeTipiId" />
              <Mapping SourceColumn="FaturaTarihi" DataSetColumn="FaturaTarihi" />
              <Mapping SourceColumn="FaturaNo" DataSetColumn="FaturaNo" />
              <Mapping SourceColumn="IrsaliyeTarihi" DataSetColumn="IrsaliyeTarihi" />
              <Mapping SourceColumn="IrsaliyeNo" DataSetColumn="IrsaliyeNo" />
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="isClosed" DataSetColumn="isClosed" />
              <Mapping SourceColumn="OwnerId" DataSetColumn="OwnerId" />
              <Mapping SourceColumn="CurrencyCode" DataSetColumn="CurrencyCode" />
              <Mapping SourceColumn="Freight" DataSetColumn="Freight" />
              <Mapping SourceColumn="GrandTotal" DataSetColumn="GrandTotal" />
              <Mapping SourceColumn="AlisSekliId" DataSetColumn="AlisSekliId" />
              <Mapping SourceColumn="PaymentTermId" DataSetColumn="PaymentTermId" />
              <Mapping SourceColumn="DeliveryTermId" DataSetColumn="DeliveryTermId" />
              <Mapping SourceColumn="ExpensePercentageId" DataSetColumn="ExpensePercentageId" />
              <Mapping SourceColumn="CarrierId" DataSetColumn="CarrierId" />
              <Mapping SourceColumn="ReferansNo" DataSetColumn="ReferansNo" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FaturaDetayTableAdapter" GeneratorDataComponentClassName="FaturaDetayTableAdapter" Name="FaturaDetay" UserDataComponentName="FaturaDetayTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.FaturaDetay" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[FaturaDetay] WHERE (([FaturaDetayId] = @Original_FaturaDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[FaturaDetay] ([FaturaId], [ProductId], [CustomerId], [TotalQty], [LineTotal], [SatinalmaOKi], [isClosed], [ModifiedDate], [ModifiedBy]) VALUES (@FaturaId, @ProductId, @CustomerId, @TotalQty, @LineTotal, @SatinalmaOKi, @isClosed, @ModifiedDate, @ModifiedBy);
SELECT FaturaDetayId, FaturaId, ProductId, CustomerId, TotalQty, LineTotal, SatinalmaOKi, isClosed, ModifiedDate, ModifiedBy, TS FROM FaturaDetay WHERE (FaturaDetayId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TotalQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TotalQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LineTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SatinalmaOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SatinalmaOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FaturaDetayId, FaturaId, ProductId, CustomerId, TotalQty, LineTotal, SatinalmaOKi, isClosed, ModifiedDate, ModifiedBy, TS FROM dbo.FaturaDetay</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[FaturaDetay] SET [FaturaId] = @FaturaId, [ProductId] = @ProductId, [CustomerId] = @CustomerId, [TotalQty] = @TotalQty, [LineTotal] = @LineTotal, [SatinalmaOKi] = @SatinalmaOKi, [isClosed] = @isClosed, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([FaturaDetayId] = @Original_FaturaDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT FaturaDetayId, FaturaId, ProductId, CustomerId, TotalQty, LineTotal, SatinalmaOKi, isClosed, ModifiedDate, ModifiedBy, TS FROM FaturaDetay WHERE (FaturaDetayId = @FaturaDetayId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TotalQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TotalQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LineTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SatinalmaOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SatinalmaOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="FaturaDetayId" ColumnName="FaturaDetayId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FaturaDetayId" DataSetColumn="FaturaDetayId" />
              <Mapping SourceColumn="FaturaId" DataSetColumn="FaturaId" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="TotalQty" DataSetColumn="TotalQty" />
              <Mapping SourceColumn="LineTotal" DataSetColumn="LineTotal" />
              <Mapping SourceColumn="SatinalmaOKi" DataSetColumn="SatinalmaOKi" />
              <Mapping SourceColumn="isClosed" DataSetColumn="isClosed" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.FaturaDetay" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByFaturaId" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillByFaturaId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByFaturaId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT FaturaDetayId, FaturaId, ProductId, CustomerId, TotalQty, LineTotal, SatinalmaOKi, isClosed, ModifiedDate, ModifiedBy, TS FROM dbo.FaturaDetay
where FaturaId=@FaturaId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="FaturaId" ColumnName="FaturaId" DataSourceName="Karbel4.dbo.FaturaDetay" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FeatureAksesuarTableAdapter" GeneratorDataComponentClassName="FeatureAksesuarTableAdapter" Name="FeatureAksesuar" UserDataComponentName="FeatureAksesuarTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.FeatureAksesuar" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[FeatureAksesuar] WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_Weight = 1 AND [Weight] IS NULL) OR ([Weight] = @Original_Weight)) AND ((@IsNull_UnitMeasureId = 1 AND [UnitMeasureId] IS NULL) OR ([UnitMeasureId] = @Original_UnitMeasureId)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)) AND ((@IsNull_Quality = 1 AND [Quality] IS NULL) OR ([Quality] = @Original_Quality)) AND ((@IsNull_Composition = 1 AND [Composition] IS NULL) OR ([Composition] = @Original_Composition)) AND ((@IsNull_Thickness = 1 AND [Thickness] IS NULL) OR ([Thickness] = @Original_Thickness)) AND ((@IsNull_Brand = 1 AND [Brand] IS NULL) OR ([Brand] = @Original_Brand)) AND ((@IsNull_Color = 1 AND [Color] IS NULL) OR ([Color] = @Original_Color)) AND ((@IsNull_Olcu = 1 AND [Olcu] IS NULL) OR ([Olcu] = @Original_Olcu)) AND ((@IsNull_Height = 1 AND [Height] IS NULL) OR ([Height] = @Original_Height)) AND ((@IsNull_Article = 1 AND [Article] IS NULL) OR ([Article] = @Original_Article)) AND ((@IsNull_KesimSekli = 1 AND [KesimSekli] IS NULL) OR ([KesimSekli] = @Original_KesimSekli)) AND ((@IsNull_Cins = 1 AND [Cins] IS NULL) OR ([Cins] = @Original_Cins)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitMeasureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Quality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Composition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Thickness" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Thickness" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Thickness" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Thickness" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Brand" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Brand" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Brand" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Brand" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Color" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Color" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Olcu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Olcu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Olcu" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Olcu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Article" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Article" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Article" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Article" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KesimSekli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KesimSekli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Cins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Cins" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[FeatureAksesuar] ([ProductId], [Weight], [UnitMeasureId], [Width], [Quality], [Composition], [Thickness], [Brand], [Color], [Olcu], [Height], [Article], [KesimSekli], [Cins]) VALUES (@ProductId, @Weight, @UnitMeasureId, @Width, @Quality, @Composition, @Thickness, @Brand, @Color, @Olcu, @Height, @Article, @KesimSekli, @Cins);
SELECT ProductId, Weight, UnitMeasureId, Width, Quality, Composition, Thickness, Brand, Color, Olcu, Height, Article, KesimSekli, Cins FROM FeatureAksesuar WHERE (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Thickness" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Thickness" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Brand" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Brand" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Olcu" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Olcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Article" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Article" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KesimSekli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Cins" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, Weight, UnitMeasureId, Width, Quality, Composition, Thickness, Brand, Color, Olcu, Height, Article, KesimSekli, Cins FROM dbo.FeatureAksesuar</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[FeatureAksesuar] SET [ProductId] = @ProductId, [Weight] = @Weight, [UnitMeasureId] = @UnitMeasureId, [Width] = @Width, [Quality] = @Quality, [Composition] = @Composition, [Thickness] = @Thickness, [Brand] = @Brand, [Color] = @Color, [Olcu] = @Olcu, [Height] = @Height, [Article] = @Article, [KesimSekli] = @KesimSekli, [Cins] = @Cins WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_Weight = 1 AND [Weight] IS NULL) OR ([Weight] = @Original_Weight)) AND ((@IsNull_UnitMeasureId = 1 AND [UnitMeasureId] IS NULL) OR ([UnitMeasureId] = @Original_UnitMeasureId)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)) AND ((@IsNull_Quality = 1 AND [Quality] IS NULL) OR ([Quality] = @Original_Quality)) AND ((@IsNull_Composition = 1 AND [Composition] IS NULL) OR ([Composition] = @Original_Composition)) AND ((@IsNull_Thickness = 1 AND [Thickness] IS NULL) OR ([Thickness] = @Original_Thickness)) AND ((@IsNull_Brand = 1 AND [Brand] IS NULL) OR ([Brand] = @Original_Brand)) AND ((@IsNull_Color = 1 AND [Color] IS NULL) OR ([Color] = @Original_Color)) AND ((@IsNull_Olcu = 1 AND [Olcu] IS NULL) OR ([Olcu] = @Original_Olcu)) AND ((@IsNull_Height = 1 AND [Height] IS NULL) OR ([Height] = @Original_Height)) AND ((@IsNull_Article = 1 AND [Article] IS NULL) OR ([Article] = @Original_Article)) AND ((@IsNull_KesimSekli = 1 AND [KesimSekli] IS NULL) OR ([KesimSekli] = @Original_KesimSekli)) AND ((@IsNull_Cins = 1 AND [Cins] IS NULL) OR ([Cins] = @Original_Cins)));
SELECT ProductId, Weight, UnitMeasureId, Width, Quality, Composition, Thickness, Brand, Color, Olcu, Height, Article, KesimSekli, Cins FROM FeatureAksesuar WHERE (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Thickness" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Thickness" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Brand" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Brand" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Olcu" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Olcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Article" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Article" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KesimSekli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Cins" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitMeasureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Quality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Composition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Thickness" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Thickness" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Thickness" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Thickness" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Brand" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Brand" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Brand" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Brand" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Color" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Color" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Olcu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Olcu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Olcu" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Olcu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Article" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Article" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Article" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Article" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KesimSekli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KesimSekli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Cins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Cins" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="Weight" DataSetColumn="Weight" />
              <Mapping SourceColumn="UnitMeasureId" DataSetColumn="UnitMeasureId" />
              <Mapping SourceColumn="Width" DataSetColumn="Width" />
              <Mapping SourceColumn="Quality" DataSetColumn="Quality" />
              <Mapping SourceColumn="Composition" DataSetColumn="Composition" />
              <Mapping SourceColumn="Thickness" DataSetColumn="Thickness" />
              <Mapping SourceColumn="Brand" DataSetColumn="Brand" />
              <Mapping SourceColumn="Color" DataSetColumn="Color" />
              <Mapping SourceColumn="Olcu" DataSetColumn="Olcu" />
              <Mapping SourceColumn="Height" DataSetColumn="Height" />
              <Mapping SourceColumn="Article" DataSetColumn="Article" />
              <Mapping SourceColumn="KesimSekli" DataSetColumn="KesimSekli" />
              <Mapping SourceColumn="Cins" DataSetColumn="Cins" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FeatureKumasTableAdapter" GeneratorDataComponentClassName="FeatureKumasTableAdapter" Name="FeatureKumas" UserDataComponentName="FeatureKumasTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.FeatureKumas" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[FeatureKumas] WHERE (([FaturaDetayId] = @Original_FaturaDetayId) AND ((@IsNull_Weight = 1 AND [Weight] IS NULL) OR ([Weight] = @Original_Weight)) AND ((@IsNull_UnitMeasureId = 1 AND [UnitMeasureId] IS NULL) OR ([UnitMeasureId] = @Original_UnitMeasureId)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)) AND ((@IsNull_IplikNo = 1 AND [IplikNo] IS NULL) OR ([IplikNo] = @Original_IplikNo)) AND ((@IsNull_Quality = 1 AND [Quality] IS NULL) OR ([Quality] = @Original_Quality)) AND ((@IsNull_Composition = 1 AND [Composition] IS NULL) OR ([Composition] = @Original_Composition)) AND ((@IsNull_Construction = 1 AND [Construction] IS NULL) OR ([Construction] = @Original_Construction)) AND ((@IsNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)) AND ((@IsNull_UreticiArtikeli = 1 AND [UreticiArtikeli] IS NULL) OR ([UreticiArtikeli] = @Original_UreticiArtikeli)) AND ((@IsNull_UreticiKodu = 1 AND [UreticiKodu] IS NULL) OR ([UreticiKodu] = @Original_UreticiKodu)) AND ((@IsNull_UreticiRenk = 1 AND [UreticiRenk] IS NULL) OR ([UreticiRenk] = @Original_UreticiRenk)) AND ((@IsNull_KarbelArtikeli = 1 AND [KarbelArtikeli] IS NULL) OR ([KarbelArtikeli] = @Original_KarbelArtikeli)) AND ((@IsNull_KarbelKodu = 1 AND [KarbelKodu] IS NULL) OR ([KarbelKodu] = @Original_KarbelKodu)) AND ((@IsNull_KarbelRenk = 1 AND [KarbelRenk] IS NULL) OR ([KarbelRenk] = @Original_KarbelRenk)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitMeasureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IplikNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IplikNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_IplikNo" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="IplikNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Quality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Composition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Construction" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Construction" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Construction" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Construction" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UreticiArtikeli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UreticiArtikeli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UreticiArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiArtikeli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UreticiKodu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UreticiKodu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UreticiKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiKodu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UreticiRenk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UreticiRenk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UreticiRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiRenk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KarbelArtikeli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KarbelArtikeli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KarbelArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelArtikeli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KarbelKodu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KarbelKodu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KarbelKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelKodu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KarbelRenk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KarbelRenk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KarbelRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelRenk" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[FeatureKumas] ([FaturaDetayId], [Notes], [Weight], [UnitMeasureId], [Width], [IplikNo], [Quality], [Composition], [Construction], [Type], [UreticiArtikeli], [UreticiKodu], [UreticiRenk], [KarbelArtikeli], [KarbelKodu], [KarbelRenk]) VALUES (@FaturaDetayId, @Notes, @Weight, @UnitMeasureId, @Width, @IplikNo, @Quality, @Composition, @Construction, @Type, @UreticiArtikeli, @UreticiKodu, @UreticiRenk, @KarbelArtikeli, @KarbelKodu, @KarbelRenk);
SELECT FaturaDetayId, Notes, Weight, UnitMeasureId, Width, IplikNo, Quality, Composition, Construction, Type, UreticiArtikeli, UreticiKodu, UreticiRenk, KarbelArtikeli, KarbelKodu, KarbelRenk FROM FeatureKumas WHERE (FaturaDetayId = @FaturaDetayId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@IplikNo" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="IplikNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Construction" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Construction" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UreticiArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UreticiKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UreticiRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KarbelArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KarbelKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KarbelRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FaturaDetayId, Notes, Weight, UnitMeasureId, Width, IplikNo, Quality, Composition, Construction, Type, UreticiArtikeli, UreticiKodu, UreticiRenk, KarbelArtikeli, KarbelKodu, KarbelRenk FROM dbo.FeatureKumas</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[FeatureKumas] SET [FaturaDetayId] = @FaturaDetayId, [Notes] = @Notes, [Weight] = @Weight, [UnitMeasureId] = @UnitMeasureId, [Width] = @Width, [IplikNo] = @IplikNo, [Quality] = @Quality, [Composition] = @Composition, [Construction] = @Construction, [Type] = @Type, [UreticiArtikeli] = @UreticiArtikeli, [UreticiKodu] = @UreticiKodu, [UreticiRenk] = @UreticiRenk, [KarbelArtikeli] = @KarbelArtikeli, [KarbelKodu] = @KarbelKodu, [KarbelRenk] = @KarbelRenk WHERE (([FaturaDetayId] = @Original_FaturaDetayId) AND ((@IsNull_Weight = 1 AND [Weight] IS NULL) OR ([Weight] = @Original_Weight)) AND ((@IsNull_UnitMeasureId = 1 AND [UnitMeasureId] IS NULL) OR ([UnitMeasureId] = @Original_UnitMeasureId)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)) AND ((@IsNull_IplikNo = 1 AND [IplikNo] IS NULL) OR ([IplikNo] = @Original_IplikNo)) AND ((@IsNull_Quality = 1 AND [Quality] IS NULL) OR ([Quality] = @Original_Quality)) AND ((@IsNull_Composition = 1 AND [Composition] IS NULL) OR ([Composition] = @Original_Composition)) AND ((@IsNull_Construction = 1 AND [Construction] IS NULL) OR ([Construction] = @Original_Construction)) AND ((@IsNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)) AND ((@IsNull_UreticiArtikeli = 1 AND [UreticiArtikeli] IS NULL) OR ([UreticiArtikeli] = @Original_UreticiArtikeli)) AND ((@IsNull_UreticiKodu = 1 AND [UreticiKodu] IS NULL) OR ([UreticiKodu] = @Original_UreticiKodu)) AND ((@IsNull_UreticiRenk = 1 AND [UreticiRenk] IS NULL) OR ([UreticiRenk] = @Original_UreticiRenk)) AND ((@IsNull_KarbelArtikeli = 1 AND [KarbelArtikeli] IS NULL) OR ([KarbelArtikeli] = @Original_KarbelArtikeli)) AND ((@IsNull_KarbelKodu = 1 AND [KarbelKodu] IS NULL) OR ([KarbelKodu] = @Original_KarbelKodu)) AND ((@IsNull_KarbelRenk = 1 AND [KarbelRenk] IS NULL) OR ([KarbelRenk] = @Original_KarbelRenk)));
SELECT FaturaDetayId, Notes, Weight, UnitMeasureId, Width, IplikNo, Quality, Composition, Construction, Type, UreticiArtikeli, UreticiKodu, UreticiRenk, KarbelArtikeli, KarbelKodu, KarbelRenk FROM FeatureKumas WHERE (FaturaDetayId = @FaturaDetayId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@IplikNo" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="IplikNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Construction" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Construction" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UreticiArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UreticiKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UreticiRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KarbelArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KarbelKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KarbelRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitMeasureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IplikNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IplikNo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_IplikNo" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="IplikNo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Quality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Quality" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Quality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Composition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Composition" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Composition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Construction" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Construction" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Construction" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Construction" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UreticiArtikeli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UreticiArtikeli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UreticiArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiArtikeli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UreticiKodu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UreticiKodu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UreticiKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiKodu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UreticiRenk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UreticiRenk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UreticiRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UreticiRenk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KarbelArtikeli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KarbelArtikeli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KarbelArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelArtikeli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KarbelKodu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KarbelKodu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KarbelKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelKodu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KarbelRenk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KarbelRenk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_KarbelRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KarbelRenk" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FaturaDetayId" DataSetColumn="FaturaDetayId" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="Weight" DataSetColumn="Weight" />
              <Mapping SourceColumn="UnitMeasureId" DataSetColumn="UnitMeasureId" />
              <Mapping SourceColumn="Width" DataSetColumn="Width" />
              <Mapping SourceColumn="IplikNo" DataSetColumn="IplikNo" />
              <Mapping SourceColumn="Quality" DataSetColumn="Quality" />
              <Mapping SourceColumn="Composition" DataSetColumn="Composition" />
              <Mapping SourceColumn="Construction" DataSetColumn="Construction" />
              <Mapping SourceColumn="Type" DataSetColumn="Type" />
              <Mapping SourceColumn="UreticiArtikeli" DataSetColumn="UreticiArtikeli" />
              <Mapping SourceColumn="UreticiKodu" DataSetColumn="UreticiKodu" />
              <Mapping SourceColumn="UreticiRenk" DataSetColumn="UreticiRenk" />
              <Mapping SourceColumn="KarbelArtikeli" DataSetColumn="KarbelArtikeli" />
              <Mapping SourceColumn="KarbelKodu" DataSetColumn="KarbelKodu" />
              <Mapping SourceColumn="KarbelRenk" DataSetColumn="KarbelRenk" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.FeatureKumas" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByFaturaId" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillByFaturaId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByFaturaId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT FaturaDetayId, Notes, Weight, UnitMeasureId, Width, IplikNo, Quality, Composition, Construction, Type, UreticiArtikeli, UreticiKodu, UreticiRenk, KarbelArtikeli, KarbelKodu, KarbelRenk FROM dbo.FeatureKumas
where FaturaDetayId in (select FaturaDetayId from FaturaDetay where FaturaId = @FaturaId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="FaturaId" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" Scale="0" Size="4" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketTableAdapter" GeneratorDataComponentClassName="HareketTableAdapter" Name="Hareket" UserDataComponentName="HareketTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Hareket" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Hareket] WHERE (([HareketId] = @Original_HareketId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Hareket] ([HareketTipiId], [FaturaId], [SalesOrderId], [TalepTarihi], [TalepEden], [Notes], [ModifiedDate], [ModifiedBy]) VALUES (@HareketTipiId, @FaturaId, @SalesOrderId, @TalepTarihi, @TalepEden, @Notes, @ModifiedDate, @ModifiedBy);
SELECT HareketId, HareketTipiId, FaturaId, SalesOrderId, TalepTarihi, TalepEden, Notes, ModifiedDate, ModifiedBy, TS FROM Hareket WHERE (HareketId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@TalepTarihi" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TalepTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TalepEden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TalepEden" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketId, HareketTipiId, FaturaId, SalesOrderId, TalepTarihi, TalepEden, Notes, ModifiedDate, ModifiedBy, TS FROM dbo.Hareket</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Hareket] SET [HareketTipiId] = @HareketTipiId, [FaturaId] = @FaturaId, [SalesOrderId] = @SalesOrderId, [TalepTarihi] = @TalepTarihi, [TalepEden] = @TalepEden, [Notes] = @Notes, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([HareketId] = @Original_HareketId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT HareketId, HareketTipiId, FaturaId, SalesOrderId, TalepTarihi, TalepEden, Notes, ModifiedDate, ModifiedBy, TS FROM Hareket WHERE (HareketId = @HareketId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@TalepTarihi" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TalepTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TalepEden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TalepEden" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="HareketId" ColumnName="HareketId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HareketId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketId" DataSetColumn="HareketId" />
              <Mapping SourceColumn="HareketTipiId" DataSetColumn="HareketTipiId" />
              <Mapping SourceColumn="FaturaId" DataSetColumn="FaturaId" />
              <Mapping SourceColumn="SalesOrderId" DataSetColumn="SalesOrderId" />
              <Mapping SourceColumn="TalepTarihi" DataSetColumn="TalepTarihi" />
              <Mapping SourceColumn="TalepEden" DataSetColumn="TalepEden" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketDetayTableAdapter" GeneratorDataComponentClassName="HareketDetayTableAdapter" Name="HareketDetay" UserDataComponentName="HareketDetayTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.HareketDetay" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[HareketDetay] WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[HareketDetay] ([HareketId], [FaturaDetayId], [CustomerId], [ProductId], [Notes], [DepoOKi], [HareketTarihi], [DepoGorevlisi], [MusteriArtikeli], [MusteriKodu], [MusteriRenk], [SanalFlag], [SanalTermin], [CancelDate], [ModifiedDate], [ModifiedBy]) VALUES (@HareketId, @FaturaDetayId, @CustomerId, @ProductId, @Notes, @DepoOKi, @HareketTarihi, @DepoGorevlisi, @MusteriArtikeli, @MusteriKodu, @MusteriRenk, @SanalFlag, @SanalTermin, @CancelDate, @ModifiedDate, @ModifiedBy);
SELECT HareketDetayId, HareketId, FaturaDetayId, CustomerId, ProductId, Notes, DepoOKi, HareketTarihi, DepoGorevlisi, MusteriArtikeli, MusteriKodu, MusteriRenk, SanalFlag, SanalTermin, CancelDate, ModifiedDate, ModifiedBy, TS FROM HareketDetay WHERE (HareketDetayId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@DepoOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="DepoOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HareketTarihi" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HareketTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoGorevlisi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoGorevlisi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MusteriArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MusteriArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MusteriKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MusteriKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MusteriRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MusteriRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SanalFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SanalFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SanalTermin" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SanalTermin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CancelDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CancelDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketDetayId, HareketId, FaturaDetayId, CustomerId, ProductId, Notes, DepoOKi, HareketTarihi, DepoGorevlisi, MusteriArtikeli, MusteriKodu, MusteriRenk, SanalFlag, SanalTermin, CancelDate, ModifiedDate, ModifiedBy, TS FROM dbo.HareketDetay</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[HareketDetay] SET [HareketId] = @HareketId, [FaturaDetayId] = @FaturaDetayId, [CustomerId] = @CustomerId, [ProductId] = @ProductId, [Notes] = @Notes, [DepoOKi] = @DepoOKi, [HareketTarihi] = @HareketTarihi, [DepoGorevlisi] = @DepoGorevlisi, [MusteriArtikeli] = @MusteriArtikeli, [MusteriKodu] = @MusteriKodu, [MusteriRenk] = @MusteriRenk, [SanalFlag] = @SanalFlag, [SanalTermin] = @SanalTermin, [CancelDate] = @CancelDate, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT HareketDetayId, HareketId, FaturaDetayId, CustomerId, ProductId, Notes, DepoOKi, HareketTarihi, DepoGorevlisi, MusteriArtikeli, MusteriKodu, MusteriRenk, SanalFlag, SanalTermin, CancelDate, ModifiedDate, ModifiedBy, TS FROM HareketDetay WHERE (HareketDetayId = @HareketDetayId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@DepoOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="DepoOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HareketTarihi" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HareketTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoGorevlisi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoGorevlisi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MusteriArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MusteriArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MusteriKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MusteriKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MusteriRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MusteriRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SanalFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SanalFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SanalTermin" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SanalTermin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CancelDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CancelDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="HareketDetayId" ColumnName="HareketDetayId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketDetayId" DataSetColumn="HareketDetayId" />
              <Mapping SourceColumn="HareketId" DataSetColumn="HareketId" />
              <Mapping SourceColumn="FaturaDetayId" DataSetColumn="FaturaDetayId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="DepoOKi" DataSetColumn="DepoOKi" />
              <Mapping SourceColumn="HareketTarihi" DataSetColumn="HareketTarihi" />
              <Mapping SourceColumn="DepoGorevlisi" DataSetColumn="DepoGorevlisi" />
              <Mapping SourceColumn="MusteriArtikeli" DataSetColumn="MusteriArtikeli" />
              <Mapping SourceColumn="MusteriKodu" DataSetColumn="MusteriKodu" />
              <Mapping SourceColumn="MusteriRenk" DataSetColumn="MusteriRenk" />
              <Mapping SourceColumn="SanalFlag" DataSetColumn="SanalFlag" />
              <Mapping SourceColumn="SanalTermin" DataSetColumn="SanalTermin" />
              <Mapping SourceColumn="CancelDate" DataSetColumn="CancelDate" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketDetayTopTableAdapter" GeneratorDataComponentClassName="HareketDetayTopTableAdapter" Name="HareketDetayTop" UserDataComponentName="HareketDetayTopTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.HareketDetayTop" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[HareketDetayTop] WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[HareketDetayTop] ([HareketDetayId], [TopId], [ProductId], [MDepoId], [LocationId], [ShelfId], [QtyTransferred], [ModifiedDate], [ModifiedBy]) VALUES (@HareketDetayId, @TopId, @ProductId, @MDepoId, @LocationId, @ShelfId, @QtyTransferred, @ModifiedDate, @ModifiedBy);
SELECT HareketDetayId, TopId, ProductId, MDepoId, LocationId, ShelfId, QtyTransferred, ModifiedDate, ModifiedBy, TS FROM HareketDetayTop WHERE (HareketDetayId = @HareketDetayId) AND (TopId = @TopId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MDepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MDepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QtyTransferred" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QtyTransferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketDetayId, TopId, ProductId, MDepoId, LocationId, ShelfId, QtyTransferred, ModifiedDate, ModifiedBy, TS FROM dbo.HareketDetayTop</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[HareketDetayTop] SET [HareketDetayId] = @HareketDetayId, [TopId] = @TopId, [ProductId] = @ProductId, [MDepoId] = @MDepoId, [LocationId] = @LocationId, [ShelfId] = @ShelfId, [QtyTransferred] = @QtyTransferred, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT HareketDetayId, TopId, ProductId, MDepoId, LocationId, ShelfId, QtyTransferred, ModifiedDate, ModifiedBy, TS FROM HareketDetayTop WHERE (HareketDetayId = @HareketDetayId) AND (TopId = @TopId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MDepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MDepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QtyTransferred" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QtyTransferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketDetayId" DataSetColumn="HareketDetayId" />
              <Mapping SourceColumn="TopId" DataSetColumn="TopId" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="MDepoId" DataSetColumn="MDepoId" />
              <Mapping SourceColumn="LocationId" DataSetColumn="LocationId" />
              <Mapping SourceColumn="ShelfId" DataSetColumn="ShelfId" />
              <Mapping SourceColumn="QtyTransferred" DataSetColumn="QtyTransferred" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketTipiTableAdapter" GeneratorDataComponentClassName="HareketTipiTableAdapter" Name="HareketTipi" UserDataComponentName="HareketTipiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.HareketTipi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[HareketTipi] WHERE (([HareketTipiId] = @Original_HareketTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[HareketTipi] ([Name]) VALUES (@Name);
SELECT HareketTipiId, Name FROM HareketTipi WHERE (HareketTipiId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketTipiId, Name FROM dbo.HareketTipi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[HareketTipi] SET [Name] = @Name WHERE (([HareketTipiId] = @Original_HareketTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT HareketTipiId, Name FROM HareketTipi WHERE (HareketTipiId = @HareketTipiId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="HareketTipiId" ColumnName="HareketTipiId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketTipiId" DataSetColumn="HareketTipiId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InventoryTableAdapter" GeneratorDataComponentClassName="InventoryTableAdapter" Name="Inventory" UserDataComponentName="InventoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Inventory] WHERE (([InventoryId] = @Original_InventoryId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InventoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InventoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Inventory] ([TopId], [ProductId], [MDepoId], [LocationId], [ShelfId], [OnShelfQty], [BlockedQty], [AvailableQty], [SanalFlag], [SanalTermin], [ModifiedDate], [ModifiedBy]) VALUES (@TopId, @ProductId, @MDepoId, @LocationId, @ShelfId, @OnShelfQty, @BlockedQty, @AvailableQty, @SanalFlag, @SanalTermin, @ModifiedDate, @ModifiedBy);
SELECT InventoryId, TopId, ProductId, MDepoId, LocationId, ShelfId, OnShelfQty, BlockedQty, AvailableQty, SanalFlag, SanalTermin, ModifiedDate, ModifiedBy, TS FROM Inventory WHERE (InventoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MDepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MDepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@OnShelfQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="OnShelfQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@BlockedQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="BlockedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@AvailableQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="AvailableQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SanalFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SanalFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SanalTermin" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="SanalTermin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT InventoryId, TopId, ProductId, MDepoId, LocationId, ShelfId, OnShelfQty, BlockedQty, AvailableQty, SanalFlag, SanalTermin, ModifiedDate, ModifiedBy, TS FROM dbo.Inventory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Inventory] SET [TopId] = @TopId, [ProductId] = @ProductId, [MDepoId] = @MDepoId, [LocationId] = @LocationId, [ShelfId] = @ShelfId, [OnShelfQty] = @OnShelfQty, [BlockedQty] = @BlockedQty, [AvailableQty] = @AvailableQty, [SanalFlag] = @SanalFlag, [SanalTermin] = @SanalTermin, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([InventoryId] = @Original_InventoryId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT InventoryId, TopId, ProductId, MDepoId, LocationId, ShelfId, OnShelfQty, BlockedQty, AvailableQty, SanalFlag, SanalTermin, ModifiedDate, ModifiedBy, TS FROM Inventory WHERE (InventoryId = @InventoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MDepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MDepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@OnShelfQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="OnShelfQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@BlockedQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="BlockedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@AvailableQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="AvailableQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SanalFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SanalFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SanalTermin" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="SanalTermin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InventoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InventoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="InventoryId" ColumnName="InventoryId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@InventoryId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="InventoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="InventoryId" DataSetColumn="InventoryId" />
              <Mapping SourceColumn="TopId" DataSetColumn="TopId" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="MDepoId" DataSetColumn="MDepoId" />
              <Mapping SourceColumn="LocationId" DataSetColumn="LocationId" />
              <Mapping SourceColumn="ShelfId" DataSetColumn="ShelfId" />
              <Mapping SourceColumn="OnShelfQty" DataSetColumn="OnShelfQty" />
              <Mapping SourceColumn="BlockedQty" DataSetColumn="BlockedQty" />
              <Mapping SourceColumn="AvailableQty" DataSetColumn="AvailableQty" />
              <Mapping SourceColumn="SanalFlag" DataSetColumn="SanalFlag" />
              <Mapping SourceColumn="SanalTermin" DataSetColumn="SanalTermin" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LocationTableAdapter" GeneratorDataComponentClassName="LocationTableAdapter" Name="Location" UserDataComponentName="LocationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Location" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Location] WHERE (([LocationId] = @Original_LocationId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Location] ([Name], [Type]) VALUES (@Name, @Type);
SELECT LocationId, Name, Type FROM Location WHERE (LocationId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT LocationId, Name, Type FROM dbo.Location</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Location] SET [Name] = @Name, [Type] = @Type WHERE (([LocationId] = @Original_LocationId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)));
SELECT LocationId, Name, Type FROM Location WHERE (LocationId = @LocationId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LocationId" ColumnName="LocationId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LocationId" DataSetColumn="LocationId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Type" DataSetColumn="Type" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LoginTableAdapter" GeneratorDataComponentClassName="LoginTableAdapter" Name="Login" UserDataComponentName="LoginTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Login" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Login] WHERE (([HostName] = @Original_HostName) AND ((@IsNull_ContactId = 1 AND [ContactId] IS NULL) OR ([ContactId] = @Original_ContactId)) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_HostName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="HostName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Login] ([HostName], [ContactId], [Date]) VALUES (@HostName, @ContactId, @Date);
SELECT HostName, ContactId, Date FROM Login WHERE (HostName = @HostName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@HostName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="HostName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HostName, ContactId, Date FROM dbo.Login</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Login] SET [HostName] = @HostName, [ContactId] = @ContactId, [Date] = @Date WHERE (([HostName] = @Original_HostName) AND ((@IsNull_ContactId = 1 AND [ContactId] IS NULL) OR ([ContactId] = @Original_ContactId)) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)));
SELECT HostName, ContactId, Date FROM Login WHERE (HostName = @HostName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@HostName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="HostName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_HostName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="HostName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HostName" DataSetColumn="HostName" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="Date" DataSetColumn="Date" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LoginHistoryTableAdapter" GeneratorDataComponentClassName="LoginHistoryTableAdapter" Name="LoginHistory" UserDataComponentName="LoginHistoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.LoginHistory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[LoginHistory] WHERE (([LoginHistoryId] = @Original_LoginHistoryId) AND ((@IsNull_Hostname = 1 AND [Hostname] IS NULL) OR ([Hostname] = @Original_Hostname)) AND ((@IsNull_ContactId = 1 AND [ContactId] IS NULL) OR ([ContactId] = @Original_ContactId)) AND ((@IsNull_FromDate = 1 AND [FromDate] IS NULL) OR ([FromDate] = @Original_FromDate)) AND ((@IsNull_ToDate = 1 AND [ToDate] IS NULL) OR ([ToDate] = @Original_ToDate)) AND ((@IsNull_DurationInMins = 1 AND [DurationInMins] IS NULL) OR ([DurationInMins] = @Original_DurationInMins)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LoginHistoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoginHistoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Hostname" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Hostname" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Hostname" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Hostname" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FromDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FromDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_FromDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FromDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ToDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ToDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ToDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ToDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DurationInMins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DurationInMins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_DurationInMins" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DurationInMins" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[LoginHistory] ([Hostname], [ContactId], [FromDate], [ToDate], [DurationInMins]) VALUES (@Hostname, @ContactId, @FromDate, @ToDate, @DurationInMins);
SELECT LoginHistoryId, Hostname, ContactId, FromDate, ToDate, DurationInMins FROM LoginHistory WHERE (LoginHistoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Hostname" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Hostname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@FromDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FromDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ToDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ToDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@DurationInMins" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DurationInMins" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT LoginHistoryId, Hostname, ContactId, FromDate, ToDate, DurationInMins FROM dbo.LoginHistory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[LoginHistory] SET [Hostname] = @Hostname, [ContactId] = @ContactId, [FromDate] = @FromDate, [ToDate] = @ToDate, [DurationInMins] = @DurationInMins WHERE (([LoginHistoryId] = @Original_LoginHistoryId) AND ((@IsNull_Hostname = 1 AND [Hostname] IS NULL) OR ([Hostname] = @Original_Hostname)) AND ((@IsNull_ContactId = 1 AND [ContactId] IS NULL) OR ([ContactId] = @Original_ContactId)) AND ((@IsNull_FromDate = 1 AND [FromDate] IS NULL) OR ([FromDate] = @Original_FromDate)) AND ((@IsNull_ToDate = 1 AND [ToDate] IS NULL) OR ([ToDate] = @Original_ToDate)) AND ((@IsNull_DurationInMins = 1 AND [DurationInMins] IS NULL) OR ([DurationInMins] = @Original_DurationInMins)));
SELECT LoginHistoryId, Hostname, ContactId, FromDate, ToDate, DurationInMins FROM LoginHistory WHERE (LoginHistoryId = @LoginHistoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Hostname" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Hostname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@FromDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FromDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ToDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ToDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@DurationInMins" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DurationInMins" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LoginHistoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LoginHistoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Hostname" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Hostname" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Hostname" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Hostname" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FromDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FromDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_FromDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FromDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ToDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ToDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ToDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ToDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DurationInMins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DurationInMins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_DurationInMins" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DurationInMins" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LoginHistoryId" ColumnName="LoginHistoryId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@LoginHistoryId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="LoginHistoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LoginHistoryId" DataSetColumn="LoginHistoryId" />
              <Mapping SourceColumn="Hostname" DataSetColumn="Hostname" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="FromDate" DataSetColumn="FromDate" />
              <Mapping SourceColumn="ToDate" DataSetColumn="ToDate" />
              <Mapping SourceColumn="DurationInMins" DataSetColumn="DurationInMins" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LookupTablesTableAdapter" GeneratorDataComponentClassName="LookupTablesTableAdapter" Name="LookupTables" UserDataComponentName="LookupTablesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.LookupTables" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[LookupTables] WHERE (([TableName] = @Original_TableName) AND ((@IsNull_Table2Name = 1 AND [Table2Name] IS NULL) OR ([Table2Name] = @Original_Table2Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Table2Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[LookupTables] ([TableName], [Table2Name]) VALUES (@TableName, @Table2Name);
SELECT TableName, Table2Name FROM LookupTables WHERE (TableName = @TableName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TableName, Table2Name FROM dbo.LookupTables</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[LookupTables] SET [TableName] = @TableName, [Table2Name] = @Table2Name WHERE (([TableName] = @Original_TableName) AND ((@IsNull_Table2Name = 1 AND [Table2Name] IS NULL) OR ([Table2Name] = @Original_Table2Name)));
SELECT TableName, Table2Name FROM LookupTables WHERE (TableName = @TableName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Table2Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TableName" DataSetColumn="TableName" />
              <Mapping SourceColumn="Table2Name" DataSetColumn="Table2Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ModuleTableAdapter" GeneratorDataComponentClassName="ModuleTableAdapter" Name="Module" UserDataComponentName="ModuleTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Module" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Module] WHERE (([ModuleId] = @Original_ModuleId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ModuleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModuleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Module] ([Name], [Description]) VALUES (@Name, @Description);
SELECT ModuleId, Name, Description FROM Module WHERE (ModuleId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ModuleId, Name, Description FROM dbo.Module</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Module] SET [Name] = @Name, [Description] = @Description WHERE (([ModuleId] = @Original_ModuleId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT ModuleId, Name, Description FROM Module WHERE (ModuleId = @ModuleId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ModuleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModuleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ModuleId" ColumnName="ModuleId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ModuleId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ModuleId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ModuleId" DataSetColumn="ModuleId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OriginTableAdapter" GeneratorDataComponentClassName="OriginTableAdapter" Name="Origin" UserDataComponentName="OriginTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Origin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Origin] WHERE (([OriginId] = @Original_OriginId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Origin] ([Name]) VALUES (@Name);
SELECT OriginId, Name FROM Origin WHERE (OriginId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT OriginId, Name FROM dbo.Origin</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Origin] SET [Name] = @Name WHERE (([OriginId] = @Original_OriginId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT OriginId, Name FROM Origin WHERE (OriginId = @OriginId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="OriginId" ColumnName="OriginId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="OriginId" DataSetColumn="OriginId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PaymentTermTableAdapter" GeneratorDataComponentClassName="PaymentTermTableAdapter" Name="PaymentTerm" UserDataComponentName="PaymentTermTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.PaymentTerm" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PaymentTerm] WHERE (([PaymentTermId] = @Original_PaymentTermId) AND ((@IsNull_PaymentMethod = 1 AND [PaymentMethod] IS NULL) OR ([PaymentMethod] = @Original_PaymentMethod)) AND ((@IsNull_PaymentTerm = 1 AND [PaymentTerm] IS NULL) OR ([PaymentTerm] = @Original_PaymentTerm)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentTerm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PaymentTerm] ([PaymentMethod], [PaymentTerm]) VALUES (@PaymentMethod, @PaymentTerm);
SELECT PaymentTermId, PaymentMethod, PaymentTerm FROM PaymentTerm WHERE (PaymentTermId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PaymentTermId, PaymentMethod, PaymentTerm FROM dbo.PaymentTerm</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PaymentTerm] SET [PaymentMethod] = @PaymentMethod, [PaymentTerm] = @PaymentTerm WHERE (([PaymentTermId] = @Original_PaymentTermId) AND ((@IsNull_PaymentMethod = 1 AND [PaymentMethod] IS NULL) OR ([PaymentMethod] = @Original_PaymentMethod)) AND ((@IsNull_PaymentTerm = 1 AND [PaymentTerm] IS NULL) OR ([PaymentTerm] = @Original_PaymentTerm)));
SELECT PaymentTermId, PaymentMethod, PaymentTerm FROM PaymentTerm WHERE (PaymentTermId = @PaymentTermId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentTerm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PaymentTermId" ColumnName="PaymentTermId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PaymentTermId" DataSetColumn="PaymentTermId" />
              <Mapping SourceColumn="PaymentMethod" DataSetColumn="PaymentMethod" />
              <Mapping SourceColumn="PaymentTerm" DataSetColumn="PaymentTerm" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTableAdapter" GeneratorDataComponentClassName="ProductTableAdapter" Name="Product" UserDataComponentName="ProductTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Product] WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Product] ([StokAdi], [StokKoduTipiId], [StokArtikeli], [StokKodu], [StokRenk], [GenelStokKalemi], [FAO], [Notes], [MakeFlag], [FinishedGoodsFlag], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [DaysToManufacture], [ProductSubcategoryId], [ProductModelId], [DiscontinuedDate], [ModifiedDate], [ModifiedBy]) VALUES (@StokAdi, @StokKoduTipiId, @StokArtikeli, @StokKodu, @StokRenk, @GenelStokKalemi, @FAO, @Notes, @MakeFlag, @FinishedGoodsFlag, @SafetyStockLevel, @ReorderPoint, @StandardCost, @ListPrice, @DaysToManufacture, @ProductSubcategoryId, @ProductModelId, @DiscontinuedDate, @ModifiedDate, @ModifiedBy);
SELECT ProductId, StokAdi, StokKoduTipiId, StokArtikeli, StokKodu, StokRenk, GenelStokKalemi, FAO, Notes, MakeFlag, FinishedGoodsFlag, SafetyStockLevel, ReorderPoint, StandardCost, ListPrice, DaysToManufacture, ProductSubcategoryId, ProductModelId, DiscontinuedDate, ModifiedDate, ModifiedBy, TS FROM Product WHERE (ProductId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokAdi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokAdi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@StokKoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokKoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@GenelStokKalemi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="GenelStokKalemi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@FAO" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="FAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MakeFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MakeFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@FinishedGoodsFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="FinishedGoodsFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SafetyStockLevel" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SafetyStockLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DaysToManufacture" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DaysToManufacture" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DiscontinuedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DiscontinuedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, StokAdi, StokKoduTipiId, StokArtikeli, StokKodu, StokRenk, GenelStokKalemi, FAO, Notes, MakeFlag, FinishedGoodsFlag, SafetyStockLevel, ReorderPoint, StandardCost, ListPrice, DaysToManufacture, ProductSubcategoryId, ProductModelId, DiscontinuedDate, ModifiedDate, ModifiedBy, TS FROM dbo.Product</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Product] SET [StokAdi] = @StokAdi, [StokKoduTipiId] = @StokKoduTipiId, [StokArtikeli] = @StokArtikeli, [StokKodu] = @StokKodu, [StokRenk] = @StokRenk, [GenelStokKalemi] = @GenelStokKalemi, [FAO] = @FAO, [Notes] = @Notes, [MakeFlag] = @MakeFlag, [FinishedGoodsFlag] = @FinishedGoodsFlag, [SafetyStockLevel] = @SafetyStockLevel, [ReorderPoint] = @ReorderPoint, [StandardCost] = @StandardCost, [ListPrice] = @ListPrice, [DaysToManufacture] = @DaysToManufacture, [ProductSubcategoryId] = @ProductSubcategoryId, [ProductModelId] = @ProductModelId, [DiscontinuedDate] = @DiscontinuedDate, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductId, StokAdi, StokKoduTipiId, StokArtikeli, StokKodu, StokRenk, GenelStokKalemi, FAO, Notes, MakeFlag, FinishedGoodsFlag, SafetyStockLevel, ReorderPoint, StandardCost, ListPrice, DaysToManufacture, ProductSubcategoryId, ProductModelId, DiscontinuedDate, ModifiedDate, ModifiedBy, TS FROM Product WHERE (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokAdi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokAdi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@StokKoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokKoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@GenelStokKalemi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="GenelStokKalemi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@FAO" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="FAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MakeFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MakeFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@FinishedGoodsFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="FinishedGoodsFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SafetyStockLevel" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SafetyStockLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DaysToManufacture" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DaysToManufacture" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DiscontinuedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DiscontinuedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductId" ColumnName="ProductId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="StokAdi" DataSetColumn="StokAdi" />
              <Mapping SourceColumn="StokKoduTipiId" DataSetColumn="StokKoduTipiId" />
              <Mapping SourceColumn="StokArtikeli" DataSetColumn="StokArtikeli" />
              <Mapping SourceColumn="StokKodu" DataSetColumn="StokKodu" />
              <Mapping SourceColumn="StokRenk" DataSetColumn="StokRenk" />
              <Mapping SourceColumn="GenelStokKalemi" DataSetColumn="GenelStokKalemi" />
              <Mapping SourceColumn="FAO" DataSetColumn="FAO" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="MakeFlag" DataSetColumn="MakeFlag" />
              <Mapping SourceColumn="FinishedGoodsFlag" DataSetColumn="FinishedGoodsFlag" />
              <Mapping SourceColumn="SafetyStockLevel" DataSetColumn="SafetyStockLevel" />
              <Mapping SourceColumn="ReorderPoint" DataSetColumn="ReorderPoint" />
              <Mapping SourceColumn="StandardCost" DataSetColumn="StandardCost" />
              <Mapping SourceColumn="ListPrice" DataSetColumn="ListPrice" />
              <Mapping SourceColumn="DaysToManufacture" DataSetColumn="DaysToManufacture" />
              <Mapping SourceColumn="ProductSubcategoryId" DataSetColumn="ProductSubcategoryId" />
              <Mapping SourceColumn="ProductModelId" DataSetColumn="ProductModelId" />
              <Mapping SourceColumn="DiscontinuedDate" DataSetColumn="DiscontinuedDate" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductCategoryTableAdapter" GeneratorDataComponentClassName="ProductCategoryTableAdapter" Name="ProductCategory" UserDataComponentName="ProductCategoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductCategory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductCategory] WHERE (([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductCategory] ([Name]) VALUES (@Name);
SELECT ProductCategoryId, Name FROM ProductCategory WHERE (ProductCategoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductCategoryId, Name FROM dbo.ProductCategory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductCategory] SET [Name] = @Name WHERE (([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name));
SELECT ProductCategoryId, Name FROM ProductCategory WHERE (ProductCategoryId = @ProductCategoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductCategoryId" ColumnName="ProductCategoryId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductCategoryId" DataSetColumn="ProductCategoryId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductCostHistoryTableAdapter" GeneratorDataComponentClassName="ProductCostHistoryTableAdapter" Name="ProductCostHistory" UserDataComponentName="ProductCostHistoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductCostHistory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductCostHistory] WHERE (([ProductId] = @Original_ProductId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ([StandardCost] = @Original_StandardCost))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductCostHistory] ([ProductId], [StartDate], [EndDate], [StandardCost]) VALUES (@ProductId, @StartDate, @EndDate, @StandardCost);
SELECT ProductId, StartDate, EndDate, StandardCost FROM ProductCostHistory WHERE (ProductId = @ProductId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, StartDate, EndDate, StandardCost FROM dbo.ProductCostHistory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductCostHistory] SET [ProductId] = @ProductId, [StartDate] = @StartDate, [EndDate] = @EndDate, [StandardCost] = @StandardCost WHERE (([ProductId] = @Original_ProductId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ([StandardCost] = @Original_StandardCost));
SELECT ProductId, StartDate, EndDate, StandardCost FROM ProductCostHistory WHERE (ProductId = @ProductId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
              <Mapping SourceColumn="StandardCost" DataSetColumn="StandardCost" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductDescriptionTableAdapter" GeneratorDataComponentClassName="ProductDescriptionTableAdapter" Name="ProductDescription" UserDataComponentName="ProductDescriptionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductDescription" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductDescription] WHERE (([ProductDescriptionId] = @Original_ProductDescriptionId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductDescriptionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDescriptionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductDescription] ([Description], [ModifiedDate], [ModifiedBy]) VALUES (@Description, @ModifiedDate, @ModifiedBy);
SELECT ProductDescriptionId, Description, ModifiedDate, ModifiedBy, TS FROM ProductDescription WHERE (ProductDescriptionId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductDescriptionId, Description, ModifiedDate, ModifiedBy, TS FROM dbo.ProductDescription</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductDescription] SET [Description] = @Description, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductDescriptionId] = @Original_ProductDescriptionId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductDescriptionId, Description, ModifiedDate, ModifiedBy, TS FROM ProductDescription WHERE (ProductDescriptionId = @ProductDescriptionId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductDescriptionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDescriptionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductDescriptionId" ColumnName="ProductDescriptionId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductDescriptionId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductDescriptionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductDescriptionId" DataSetColumn="ProductDescriptionId" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductDocumentTableAdapter" GeneratorDataComponentClassName="ProductDocumentTableAdapter" Name="ProductDocument" UserDataComponentName="ProductDocumentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductDocument" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductDocument] WHERE (([ProductId] = @Original_ProductId) AND ([DocumentId] = @Original_DocumentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DocumentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DocumentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductDocument] ([ProductId], [DocumentId], [ModifiedDate], [ModifiedBy]) VALUES (@ProductId, @DocumentId, @ModifiedDate, @ModifiedBy);
SELECT ProductId, DocumentId, ModifiedDate, ModifiedBy, TS FROM ProductDocument WHERE (DocumentId = @DocumentId) AND (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DocumentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DocumentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, DocumentId, ModifiedDate, ModifiedBy, TS FROM dbo.ProductDocument</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductDocument] SET [ProductId] = @ProductId, [DocumentId] = @DocumentId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductId] = @Original_ProductId) AND ([DocumentId] = @Original_DocumentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductId, DocumentId, ModifiedDate, ModifiedBy, TS FROM ProductDocument WHERE (DocumentId = @DocumentId) AND (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DocumentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DocumentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DocumentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DocumentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="DocumentId" DataSetColumn="DocumentId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductListPriceHistoryTableAdapter" GeneratorDataComponentClassName="ProductListPriceHistoryTableAdapter" Name="ProductListPriceHistory" UserDataComponentName="ProductListPriceHistoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductListPriceHistory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductListPriceHistory] WHERE (([ProductId] = @Original_ProductId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ([ListPrice] = @Original_ListPrice))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductListPriceHistory] ([ProductId], [StartDate], [EndDate], [ListPrice]) VALUES (@ProductId, @StartDate, @EndDate, @ListPrice);
SELECT ProductId, StartDate, EndDate, ListPrice FROM ProductListPriceHistory WHERE (ProductId = @ProductId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, StartDate, EndDate, ListPrice FROM dbo.ProductListPriceHistory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductListPriceHistory] SET [ProductId] = @ProductId, [StartDate] = @StartDate, [EndDate] = @EndDate, [ListPrice] = @ListPrice WHERE (([ProductId] = @Original_ProductId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ([ListPrice] = @Original_ListPrice));
SELECT ProductId, StartDate, EndDate, ListPrice FROM ProductListPriceHistory WHERE (ProductId = @ProductId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
              <Mapping SourceColumn="ListPrice" DataSetColumn="ListPrice" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductModelTableAdapter" GeneratorDataComponentClassName="ProductModelTableAdapter" Name="ProductModel" UserDataComponentName="ProductModelTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductModel" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductModel] WHERE (([ProductModelId] = @Original_ProductModelId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductModel] ([Name], [CatalogDescription], [Instructions], [ModifiedDate], [ModifiedBy]) VALUES (@Name, @CatalogDescription, @Instructions, @ModifiedDate, @ModifiedBy);
SELECT ProductModelId, Name, CatalogDescription, Instructions, ModifiedDate, ModifiedBy, TS FROM ProductModel WHERE (ProductModelId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@CatalogDescription" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="CatalogDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@Instructions" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="Instructions" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductModelId, Name, CatalogDescription, Instructions, ModifiedDate, ModifiedBy, TS FROM dbo.ProductModel</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductModel] SET [Name] = @Name, [CatalogDescription] = @CatalogDescription, [Instructions] = @Instructions, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductModelId] = @Original_ProductModelId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductModelId, Name, CatalogDescription, Instructions, ModifiedDate, ModifiedBy, TS FROM ProductModel WHERE (ProductModelId = @ProductModelId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@CatalogDescription" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="CatalogDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@Instructions" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="Instructions" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductModelId" ColumnName="ProductModelId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductModelId" DataSetColumn="ProductModelId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="CatalogDescription" DataSetColumn="CatalogDescription" />
              <Mapping SourceColumn="Instructions" DataSetColumn="Instructions" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductModelProductDescriptionCultureTableAdapter" GeneratorDataComponentClassName="ProductModelProductDescriptionCultureTableAdapter" Name="ProductModelProductDescriptionCulture" UserDataComponentName="ProductModelProductDescriptionCultureTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductModelProductDescriptionCulture" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductModelProductDescriptionCulture] WHERE (([ProductModelId] = @Original_ProductModelId) AND ([ProductDescriptionId] = @Original_ProductDescriptionId) AND ([CultureId] = @Original_CultureId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductDescriptionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDescriptionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductModelProductDescriptionCulture] ([ProductModelId], [ProductDescriptionId], [CultureId], [ModifiedDate], [ModifiedBy]) VALUES (@ProductModelId, @ProductDescriptionId, @CultureId, @ModifiedDate, @ModifiedBy);
SELECT ProductModelId, ProductDescriptionId, CultureId, ModifiedDate, ModifiedBy, TS FROM ProductModelProductDescriptionCulture WHERE (CultureId = @CultureId) AND (ProductDescriptionId = @ProductDescriptionId) AND (ProductModelId = @ProductModelId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductDescriptionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDescriptionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductModelId, ProductDescriptionId, CultureId, ModifiedDate, ModifiedBy, TS FROM dbo.ProductModelProductDescriptionCulture</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductModelProductDescriptionCulture] SET [ProductModelId] = @ProductModelId, [ProductDescriptionId] = @ProductDescriptionId, [CultureId] = @CultureId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductModelId] = @Original_ProductModelId) AND ([ProductDescriptionId] = @Original_ProductDescriptionId) AND ([CultureId] = @Original_CultureId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductModelId, ProductDescriptionId, CultureId, ModifiedDate, ModifiedBy, TS FROM ProductModelProductDescriptionCulture WHERE (CultureId = @CultureId) AND (ProductDescriptionId = @ProductDescriptionId) AND (ProductModelId = @ProductModelId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductDescriptionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDescriptionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductDescriptionId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDescriptionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductModelId" DataSetColumn="ProductModelId" />
              <Mapping SourceColumn="ProductDescriptionId" DataSetColumn="ProductDescriptionId" />
              <Mapping SourceColumn="CultureId" DataSetColumn="CultureId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductPhotoTableAdapter" GeneratorDataComponentClassName="ProductPhotoTableAdapter" Name="ProductPhoto" UserDataComponentName="ProductPhotoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductPhoto" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductPhoto] WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductPhoto] ([ProductId], [Photo], [ModifiedDate], [ModifiedBy]) VALUES (@ProductId, @Photo, @ModifiedDate, @ModifiedBy);
SELECT ProductId, Photo, ModifiedDate, ModifiedBy, TS FROM ProductPhoto WHERE (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, Photo, ModifiedDate, ModifiedBy, TS FROM dbo.ProductPhoto</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductPhoto] SET [ProductId] = @ProductId, [Photo] = @Photo, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductId, Photo, ModifiedDate, ModifiedBy, TS FROM ProductPhoto WHERE (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductSubcategoryTableAdapter" GeneratorDataComponentClassName="ProductSubcategoryTableAdapter" Name="ProductSubcategory" UserDataComponentName="ProductSubcategoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductSubcategory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductSubcategory] WHERE (([ProductSubcategoryId] = @Original_ProductSubcategoryId) AND ([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name) AND ((@IsNull_xWeight = 1 AND [xWeight] IS NULL) OR ([xWeight] = @Original_xWeight)) AND ((@IsNull_xUnitMeasureCode = 1 AND [xUnitMeasureCode] IS NULL) OR ([xUnitMeasureCode] = @Original_xUnitMeasureCode)) AND ((@IsNull_xWidth = 1 AND [xWidth] IS NULL) OR ([xWidth] = @Original_xWidth)) AND ((@IsNull_xQuality = 1 AND [xQuality] IS NULL) OR ([xQuality] = @Original_xQuality)) AND ((@IsNull_xComposition = 1 AND [xComposition] IS NULL) OR ([xComposition] = @Original_xComposition)) AND ((@IsNull_xThickness = 1 AND [xThickness] IS NULL) OR ([xThickness] = @Original_xThickness)) AND ((@IsNull_xBrand = 1 AND [xBrand] IS NULL) OR ([xBrand] = @Original_xBrand)) AND ((@IsNull_xColor = 1 AND [xColor] IS NULL) OR ([xColor] = @Original_xColor)) AND ((@IsNull_xOlcu = 1 AND [xOlcu] IS NULL) OR ([xOlcu] = @Original_xOlcu)) AND ((@IsNull_xHeight = 1 AND [xHeight] IS NULL) OR ([xHeight] = @Original_xHeight)) AND ((@IsNull_xArticle = 1 AND [xArticle] IS NULL) OR ([xArticle] = @Original_xArticle)) AND ((@IsNull_xKesimSekli = 1 AND [xKesimSekli] IS NULL) OR ([xKesimSekli] = @Original_xKesimSekli)) AND ((@IsNull_xCins = 1 AND [xCins] IS NULL) OR ([xCins] = @Original_xCins)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xUnitMeasureCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWidth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xQuality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xComposition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xThickness" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xBrand" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xOlcu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xHeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xArticle" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xKesimSekli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xCins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductSubcategory] ([ProductCategoryId], [Name], [xWeight], [xUnitMeasureCode], [xWidth], [xQuality], [xComposition], [xThickness], [xBrand], [xColor], [xOlcu], [xHeight], [xArticle], [xKesimSekli], [xCins]) VALUES (@ProductCategoryId, @Name, @xWeight, @xUnitMeasureCode, @xWidth, @xQuality, @xComposition, @xThickness, @xBrand, @xColor, @xOlcu, @xHeight, @xArticle, @xKesimSekli, @xCins);
SELECT ProductSubcategoryId, ProductCategoryId, Name, xWeight, xUnitMeasureCode, xWidth, xQuality, xComposition, xThickness, xBrand, xColor, xOlcu, xHeight, xArticle, xKesimSekli, xCins FROM ProductSubcategory WHERE (ProductSubcategoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductSubcategoryId, ProductCategoryId, Name, xWeight, xUnitMeasureCode, xWidth, xQuality, xComposition, xThickness, xBrand, xColor, xOlcu, xHeight, xArticle, xKesimSekli, xCins FROM dbo.ProductSubcategory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductSubcategory] SET [ProductCategoryId] = @ProductCategoryId, [Name] = @Name, [xWeight] = @xWeight, [xUnitMeasureCode] = @xUnitMeasureCode, [xWidth] = @xWidth, [xQuality] = @xQuality, [xComposition] = @xComposition, [xThickness] = @xThickness, [xBrand] = @xBrand, [xColor] = @xColor, [xOlcu] = @xOlcu, [xHeight] = @xHeight, [xArticle] = @xArticle, [xKesimSekli] = @xKesimSekli, [xCins] = @xCins WHERE (([ProductSubcategoryId] = @Original_ProductSubcategoryId) AND ([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name) AND ((@IsNull_xWeight = 1 AND [xWeight] IS NULL) OR ([xWeight] = @Original_xWeight)) AND ((@IsNull_xUnitMeasureCode = 1 AND [xUnitMeasureCode] IS NULL) OR ([xUnitMeasureCode] = @Original_xUnitMeasureCode)) AND ((@IsNull_xWidth = 1 AND [xWidth] IS NULL) OR ([xWidth] = @Original_xWidth)) AND ((@IsNull_xQuality = 1 AND [xQuality] IS NULL) OR ([xQuality] = @Original_xQuality)) AND ((@IsNull_xComposition = 1 AND [xComposition] IS NULL) OR ([xComposition] = @Original_xComposition)) AND ((@IsNull_xThickness = 1 AND [xThickness] IS NULL) OR ([xThickness] = @Original_xThickness)) AND ((@IsNull_xBrand = 1 AND [xBrand] IS NULL) OR ([xBrand] = @Original_xBrand)) AND ((@IsNull_xColor = 1 AND [xColor] IS NULL) OR ([xColor] = @Original_xColor)) AND ((@IsNull_xOlcu = 1 AND [xOlcu] IS NULL) OR ([xOlcu] = @Original_xOlcu)) AND ((@IsNull_xHeight = 1 AND [xHeight] IS NULL) OR ([xHeight] = @Original_xHeight)) AND ((@IsNull_xArticle = 1 AND [xArticle] IS NULL) OR ([xArticle] = @Original_xArticle)) AND ((@IsNull_xKesimSekli = 1 AND [xKesimSekli] IS NULL) OR ([xKesimSekli] = @Original_xKesimSekli)) AND ((@IsNull_xCins = 1 AND [xCins] IS NULL) OR ([xCins] = @Original_xCins)));
SELECT ProductSubcategoryId, ProductCategoryId, Name, xWeight, xUnitMeasureCode, xWidth, xQuality, xComposition, xThickness, xBrand, xColor, xOlcu, xHeight, xArticle, xKesimSekli, xCins FROM ProductSubcategory WHERE (ProductSubcategoryId = @ProductSubcategoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xUnitMeasureCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWidth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xQuality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xComposition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xThickness" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xBrand" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xOlcu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xHeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xArticle" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xKesimSekli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xCins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductSubcategoryId" ColumnName="ProductSubcategoryId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductSubcategoryId" DataSetColumn="ProductSubcategoryId" />
              <Mapping SourceColumn="ProductCategoryId" DataSetColumn="ProductCategoryId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="xWeight" DataSetColumn="xWeight" />
              <Mapping SourceColumn="xUnitMeasureCode" DataSetColumn="xUnitMeasureCode" />
              <Mapping SourceColumn="xWidth" DataSetColumn="xWidth" />
              <Mapping SourceColumn="xQuality" DataSetColumn="xQuality" />
              <Mapping SourceColumn="xComposition" DataSetColumn="xComposition" />
              <Mapping SourceColumn="xThickness" DataSetColumn="xThickness" />
              <Mapping SourceColumn="xBrand" DataSetColumn="xBrand" />
              <Mapping SourceColumn="xColor" DataSetColumn="xColor" />
              <Mapping SourceColumn="xOlcu" DataSetColumn="xOlcu" />
              <Mapping SourceColumn="xHeight" DataSetColumn="xHeight" />
              <Mapping SourceColumn="xArticle" DataSetColumn="xArticle" />
              <Mapping SourceColumn="xKesimSekli" DataSetColumn="xKesimSekli" />
              <Mapping SourceColumn="xCins" DataSetColumn="xCins" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductVendorTableAdapter" GeneratorDataComponentClassName="ProductVendorTableAdapter" Name="ProductVendor" UserDataComponentName="ProductVendorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductVendor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductVendor] WHERE (([ProductId] = @Original_ProductId) AND ([VendorId] = @Original_VendorId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductVendor] ([ProductId], [VendorId], [AverageLeadTime], [StandardPrice], [LastReceiptCost], [LastReceiptDate], [MinOrderQty], [MaxOrderQty], [OnOrderQty], [UnitMeasureId], [ModifiedDate], [ModifiedBy]) VALUES (@ProductId, @VendorId, @AverageLeadTime, @StandardPrice, @LastReceiptCost, @LastReceiptDate, @MinOrderQty, @MaxOrderQty, @OnOrderQty, @UnitMeasureId, @ModifiedDate, @ModifiedBy);
SELECT ProductId, VendorId, AverageLeadTime, StandardPrice, LastReceiptCost, LastReceiptDate, MinOrderQty, MaxOrderQty, OnOrderQty, UnitMeasureId, ModifiedDate, ModifiedBy, TS FROM ProductVendor WHERE (ProductId = @ProductId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AverageLeadTime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AverageLeadTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LastReceiptCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LastReceiptCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastReceiptDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastReceiptDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MinOrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinOrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MaxOrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxOrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OnOrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OnOrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, VendorId, AverageLeadTime, StandardPrice, LastReceiptCost, LastReceiptDate, MinOrderQty, MaxOrderQty, OnOrderQty, UnitMeasureId, ModifiedDate, ModifiedBy, TS FROM dbo.ProductVendor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductVendor] SET [ProductId] = @ProductId, [VendorId] = @VendorId, [AverageLeadTime] = @AverageLeadTime, [StandardPrice] = @StandardPrice, [LastReceiptCost] = @LastReceiptCost, [LastReceiptDate] = @LastReceiptDate, [MinOrderQty] = @MinOrderQty, [MaxOrderQty] = @MaxOrderQty, [OnOrderQty] = @OnOrderQty, [UnitMeasureId] = @UnitMeasureId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductId] = @Original_ProductId) AND ([VendorId] = @Original_VendorId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductId, VendorId, AverageLeadTime, StandardPrice, LastReceiptCost, LastReceiptDate, MinOrderQty, MaxOrderQty, OnOrderQty, UnitMeasureId, ModifiedDate, ModifiedBy, TS FROM ProductVendor WHERE (ProductId = @ProductId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AverageLeadTime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AverageLeadTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LastReceiptCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LastReceiptCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastReceiptDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastReceiptDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MinOrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinOrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MaxOrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MaxOrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OnOrderQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OnOrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="AverageLeadTime" DataSetColumn="AverageLeadTime" />
              <Mapping SourceColumn="StandardPrice" DataSetColumn="StandardPrice" />
              <Mapping SourceColumn="LastReceiptCost" DataSetColumn="LastReceiptCost" />
              <Mapping SourceColumn="LastReceiptDate" DataSetColumn="LastReceiptDate" />
              <Mapping SourceColumn="MinOrderQty" DataSetColumn="MinOrderQty" />
              <Mapping SourceColumn="MaxOrderQty" DataSetColumn="MaxOrderQty" />
              <Mapping SourceColumn="OnOrderQty" DataSetColumn="OnOrderQty" />
              <Mapping SourceColumn="UnitMeasureId" DataSetColumn="UnitMeasureId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PurchaseOrderDetailTableAdapter" GeneratorDataComponentClassName="PurchaseOrderDetailTableAdapter" Name="PurchaseOrderDetail" UserDataComponentName="PurchaseOrderDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.PurchaseOrderDetail" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PurchaseOrderDetail] WHERE (([PurchaseOrderId] = @Original_PurchaseOrderId) AND ([PurchaseOrderDetailId] = @Original_PurchaseOrderDetailId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PurchaseOrderDetailId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderDetailId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PurchaseOrderDetail] ([PurchaseOrderId], [DueDate], [OrderQty], [ProductId], [UnitPrice], [LineTotal], [ReceivedQty], [RejectedQty], [StockedQty], [ModifiedDate], [ModifiedBy]) VALUES (@PurchaseOrderId, @DueDate, @OrderQty, @ProductId, @UnitPrice, @LineTotal, @ReceivedQty, @RejectedQty, @StockedQty, @ModifiedDate, @ModifiedBy);
SELECT PurchaseOrderId, PurchaseOrderDetailId, DueDate, OrderQty, ProductId, UnitPrice, LineTotal, ReceivedQty, RejectedQty, StockedQty, ModifiedDate, ModifiedBy, TS FROM PurchaseOrderDetail WHERE (PurchaseOrderDetailId = SCOPE_IDENTITY()) AND (PurchaseOrderId = @PurchaseOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LineTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ReceivedQty" Precision="8" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ReceivedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RejectedQty" Precision="8" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RejectedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@StockedQty" Precision="9" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="StockedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PurchaseOrderId, PurchaseOrderDetailId, DueDate, OrderQty, ProductId, UnitPrice, LineTotal, ReceivedQty, RejectedQty, StockedQty, ModifiedDate, ModifiedBy, TS FROM dbo.PurchaseOrderDetail</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PurchaseOrderDetail] SET [PurchaseOrderId] = @PurchaseOrderId, [DueDate] = @DueDate, [OrderQty] = @OrderQty, [ProductId] = @ProductId, [UnitPrice] = @UnitPrice, [LineTotal] = @LineTotal, [ReceivedQty] = @ReceivedQty, [RejectedQty] = @RejectedQty, [StockedQty] = @StockedQty, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([PurchaseOrderId] = @Original_PurchaseOrderId) AND ([PurchaseOrderDetailId] = @Original_PurchaseOrderDetailId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT PurchaseOrderId, PurchaseOrderDetailId, DueDate, OrderQty, ProductId, UnitPrice, LineTotal, ReceivedQty, RejectedQty, StockedQty, ModifiedDate, ModifiedBy, TS FROM PurchaseOrderDetail WHERE (PurchaseOrderDetailId = @PurchaseOrderDetailId) AND (PurchaseOrderId = @PurchaseOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LineTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ReceivedQty" Precision="8" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ReceivedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RejectedQty" Precision="8" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RejectedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@StockedQty" Precision="9" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="StockedQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PurchaseOrderDetailId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderDetailId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PurchaseOrderDetailId" ColumnName="PurchaseOrderDetailId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderDetailId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="PurchaseOrderDetailId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PurchaseOrderId" DataSetColumn="PurchaseOrderId" />
              <Mapping SourceColumn="PurchaseOrderDetailId" DataSetColumn="PurchaseOrderDetailId" />
              <Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
              <Mapping SourceColumn="OrderQty" DataSetColumn="OrderQty" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
              <Mapping SourceColumn="LineTotal" DataSetColumn="LineTotal" />
              <Mapping SourceColumn="ReceivedQty" DataSetColumn="ReceivedQty" />
              <Mapping SourceColumn="RejectedQty" DataSetColumn="RejectedQty" />
              <Mapping SourceColumn="StockedQty" DataSetColumn="StockedQty" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PurchaseOrderHeaderTableAdapter" GeneratorDataComponentClassName="PurchaseOrderHeaderTableAdapter" Name="PurchaseOrderHeader" UserDataComponentName="PurchaseOrderHeaderTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.PurchaseOrderHeader" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PurchaseOrderHeader] WHERE (([PurchaseOrderId] = @Original_PurchaseOrderId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PurchaseOrderHeader] ([RevisionNumber], [Status], [EmployeeId], [VendorId], [ShipMethodId], [OrderDate], [ShipDate], [SubTotal], [TaxAmt], [Freight], [TotalDue], [ModifiedDate], [ModifiedBy]) VALUES (@RevisionNumber, @Status, @EmployeeId, @VendorId, @ShipMethodId, @OrderDate, @ShipDate, @SubTotal, @TaxAmt, @Freight, @TotalDue, @ModifiedDate, @ModifiedBy);
SELECT PurchaseOrderId, RevisionNumber, Status, EmployeeId, VendorId, ShipMethodId, OrderDate, ShipDate, SubTotal, TaxAmt, Freight, TotalDue, ModifiedDate, ModifiedBy, TS FROM PurchaseOrderHeader WHERE (PurchaseOrderId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PurchaseOrderId, RevisionNumber, Status, EmployeeId, VendorId, ShipMethodId, OrderDate, ShipDate, SubTotal, TaxAmt, Freight, TotalDue, ModifiedDate, ModifiedBy, TS FROM dbo.PurchaseOrderHeader</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PurchaseOrderHeader] SET [RevisionNumber] = @RevisionNumber, [Status] = @Status, [EmployeeId] = @EmployeeId, [VendorId] = @VendorId, [ShipMethodId] = @ShipMethodId, [OrderDate] = @OrderDate, [ShipDate] = @ShipDate, [SubTotal] = @SubTotal, [TaxAmt] = @TaxAmt, [Freight] = @Freight, [TotalDue] = @TotalDue, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([PurchaseOrderId] = @Original_PurchaseOrderId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT PurchaseOrderId, RevisionNumber, Status, EmployeeId, VendorId, ShipMethodId, OrderDate, ShipDate, SubTotal, TaxAmt, Freight, TotalDue, ModifiedDate, ModifiedBy, TS FROM PurchaseOrderHeader WHERE (PurchaseOrderId = @PurchaseOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PurchaseOrderId" ColumnName="PurchaseOrderId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PurchaseOrderId" DataSetColumn="PurchaseOrderId" />
              <Mapping SourceColumn="RevisionNumber" DataSetColumn="RevisionNumber" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="EmployeeId" DataSetColumn="EmployeeId" />
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="ShipMethodId" DataSetColumn="ShipMethodId" />
              <Mapping SourceColumn="OrderDate" DataSetColumn="OrderDate" />
              <Mapping SourceColumn="ShipDate" DataSetColumn="ShipDate" />
              <Mapping SourceColumn="SubTotal" DataSetColumn="SubTotal" />
              <Mapping SourceColumn="TaxAmt" DataSetColumn="TaxAmt" />
              <Mapping SourceColumn="Freight" DataSetColumn="Freight" />
              <Mapping SourceColumn="TotalDue" DataSetColumn="TotalDue" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RollTableAdapter" GeneratorDataComponentClassName="RollTableAdapter" Name="Roll" UserDataComponentName="RollTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Roll" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Roll] WHERE (([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Roll] ([FaturaDetayId], [En], [Kalite], [InitialQty], [UnitPrice], [isRunOut], [ModifiedDate], [ModifiedBy]) VALUES (@FaturaDetayId, @En, @Kalite, @InitialQty, @UnitPrice, @isRunOut, @ModifiedDate, @ModifiedBy);
SELECT TopId, FaturaDetayId, En, Kalite, InitialQty, UnitPrice, isRunOut, ModifiedDate, ModifiedBy, TS FROM Roll WHERE (TopId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@En" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="En" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Kalite" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Kalite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@InitialQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="InitialQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isRunOut" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isRunOut" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TopId, FaturaDetayId, En, Kalite, InitialQty, UnitPrice, isRunOut, ModifiedDate, ModifiedBy, TS FROM dbo.Roll</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Roll] SET [FaturaDetayId] = @FaturaDetayId, [En] = @En, [Kalite] = @Kalite, [InitialQty] = @InitialQty, [UnitPrice] = @UnitPrice, [isRunOut] = @isRunOut, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT TopId, FaturaDetayId, En, Kalite, InitialQty, UnitPrice, isRunOut, ModifiedDate, ModifiedBy, TS FROM Roll WHERE (TopId = @TopId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FaturaDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FaturaDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@En" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="En" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Kalite" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Kalite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@InitialQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="InitialQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isRunOut" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isRunOut" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TopId" ColumnName="TopId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TopId" DataSetColumn="TopId" />
              <Mapping SourceColumn="FaturaDetayId" DataSetColumn="FaturaDetayId" />
              <Mapping SourceColumn="En" DataSetColumn="En" />
              <Mapping SourceColumn="Kalite" DataSetColumn="Kalite" />
              <Mapping SourceColumn="InitialQty" DataSetColumn="InitialQty" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
              <Mapping SourceColumn="isRunOut" DataSetColumn="isRunOut" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Roll" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByFaturaId" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillByFaturaId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByFaturaId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT TopId, FaturaDetayId, En, Kalite, InitialQty, UnitPrice, isRunOut, ModifiedDate, ModifiedBy, TS FROM dbo.Roll
where FaturaDetayId in (select FaturaDetayId from FaturaDetay where FaturaId = @FaturaId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="FaturaId" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FaturaId" Precision="0" Scale="0" Size="4" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesAgentTableAdapter" GeneratorDataComponentClassName="SalesAgentTableAdapter" Name="SalesAgent" UserDataComponentName="SalesAgentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesAgent" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesAgent] WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesAgent] ([ContactId], [Balance], [ModifiedDate], [ModifiedBy]) VALUES (@ContactId, @Balance, @ModifiedDate, @ModifiedBy);
SELECT SalesAgentId, ContactId, Balance, ModifiedDate, ModifiedBy, TS FROM SalesAgent WHERE (SalesAgentId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesAgentId, ContactId, Balance, ModifiedDate, ModifiedBy, TS FROM dbo.SalesAgent</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesAgent] SET [ContactId] = @ContactId, [Balance] = @Balance, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesAgentId, ContactId, Balance, ModifiedDate, ModifiedBy, TS FROM SalesAgent WHERE (SalesAgentId = @SalesAgentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SalesAgentId" ColumnName="SalesAgentId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="Balance" DataSetColumn="Balance" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesAgentAddressTableAdapter" GeneratorDataComponentClassName="SalesAgentAddressTableAdapter" Name="SalesAgentAddress" UserDataComponentName="SalesAgentAddressTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesAgentAddress" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesAgentAddress] WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesAgentAddress] ([SalesAgentId], [AddressId], [ModifiedDate], [ModifiedBy]) VALUES (@SalesAgentId, @AddressId, @ModifiedDate, @ModifiedBy);
SELECT SalesAgentId, AddressId, ModifiedDate, ModifiedBy, TS FROM SalesAgentAddress WHERE (AddressId = @AddressId) AND (SalesAgentId = @SalesAgentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesAgentId, AddressId, ModifiedDate, ModifiedBy, TS FROM dbo.SalesAgentAddress</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesAgentAddress] SET [SalesAgentId] = @SalesAgentId, [AddressId] = @AddressId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesAgentId, AddressId, ModifiedDate, ModifiedBy, TS FROM SalesAgentAddress WHERE (AddressId = @AddressId) AND (SalesAgentId = @SalesAgentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="AddressId" DataSetColumn="AddressId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesAgentBankAccountTableAdapter" GeneratorDataComponentClassName="SalesAgentBankAccountTableAdapter" Name="SalesAgentBankAccount" UserDataComponentName="SalesAgentBankAccountTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesAgentBankAccount" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesAgentBankAccount] WHERE (([BankAccountId] = @Original_BankAccountId) AND ([SalesAgentId] = @Original_SalesAgentId) AND ((@IsNull_Preferred = 1 AND [Preferred] IS NULL) OR ([Preferred] = @Original_Preferred)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Preferred" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesAgentBankAccount] ([BankAccountId], [SalesAgentId], [Preferred]) VALUES (@BankAccountId, @SalesAgentId, @Preferred);
SELECT BankAccountId, SalesAgentId, Preferred FROM SalesAgentBankAccount WHERE (BankAccountId = @BankAccountId) AND (SalesAgentId = @SalesAgentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BankAccountId, SalesAgentId, Preferred FROM dbo.SalesAgentBankAccount</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesAgentBankAccount] SET [BankAccountId] = @BankAccountId, [SalesAgentId] = @SalesAgentId, [Preferred] = @Preferred WHERE (([BankAccountId] = @Original_BankAccountId) AND ([SalesAgentId] = @Original_SalesAgentId) AND ((@IsNull_Preferred = 1 AND [Preferred] IS NULL) OR ([Preferred] = @Original_Preferred)));
SELECT BankAccountId, SalesAgentId, Preferred FROM SalesAgentBankAccount WHERE (BankAccountId = @BankAccountId) AND (SalesAgentId = @SalesAgentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Preferred" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BankAccountId" DataSetColumn="BankAccountId" />
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="Preferred" DataSetColumn="Preferred" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesAgentCustomerTableAdapter" GeneratorDataComponentClassName="SalesAgentCustomerTableAdapter" Name="SalesAgentCustomer" UserDataComponentName="SalesAgentCustomerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesAgentCustomer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesAgentCustomer] WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ([CustomerId] = @Original_CustomerId) AND ((@IsNull_CommissionPct = 1 AND [CommissionPct] IS NULL) OR ([CommissionPct] = @Original_CommissionPct)) AND ((@IsNull_PreferredPaymentTerm = 1 AND [PreferredPaymentTerm] IS NULL) OR ([PreferredPaymentTerm] = @Original_PreferredPaymentTerm)) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CommissionPct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredPaymentTerm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesAgentCustomer] ([SalesAgentId], [CustomerId], [CommissionPct], [PreferredPaymentTerm], [StartDate], [EndDate]) VALUES (@SalesAgentId, @CustomerId, @CommissionPct, @PreferredPaymentTerm, @StartDate, @EndDate);
SELECT SalesAgentId, CustomerId, CommissionPct, PreferredPaymentTerm, StartDate, EndDate FROM SalesAgentCustomer WHERE (CustomerId = @CustomerId) AND (SalesAgentId = @SalesAgentId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesAgentId, CustomerId, CommissionPct, PreferredPaymentTerm, StartDate, EndDate FROM dbo.SalesAgentCustomer</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesAgentCustomer] SET [SalesAgentId] = @SalesAgentId, [CustomerId] = @CustomerId, [CommissionPct] = @CommissionPct, [PreferredPaymentTerm] = @PreferredPaymentTerm, [StartDate] = @StartDate, [EndDate] = @EndDate WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ([CustomerId] = @Original_CustomerId) AND ((@IsNull_CommissionPct = 1 AND [CommissionPct] IS NULL) OR ([CommissionPct] = @Original_CommissionPct)) AND ((@IsNull_PreferredPaymentTerm = 1 AND [PreferredPaymentTerm] IS NULL) OR ([PreferredPaymentTerm] = @Original_PreferredPaymentTerm)) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)));
SELECT SalesAgentId, CustomerId, CommissionPct, PreferredPaymentTerm, StartDate, EndDate FROM SalesAgentCustomer WHERE (CustomerId = @CustomerId) AND (SalesAgentId = @SalesAgentId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CommissionPct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredPaymentTerm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="CommissionPct" DataSetColumn="CommissionPct" />
              <Mapping SourceColumn="PreferredPaymentTerm" DataSetColumn="PreferredPaymentTerm" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesAgentPaymentTableAdapter" GeneratorDataComponentClassName="SalesAgentPaymentTableAdapter" Name="SalesAgentPayment" UserDataComponentName="SalesAgentPaymentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesAgentPayment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesAgentPayment] WHERE (([SalesAgentPaymentId] = @Original_SalesAgentPaymentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentPaymentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentPaymentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesAgentPayment] ([SalesAgentId], [SalesOrderId], [PlannedPayment], [PlannedDate], [ActualPayment], [ActualDate], [PaymentTermId], [PaidBy], [ModifiedDate], [ModifiedBy]) VALUES (@SalesAgentId, @SalesOrderId, @PlannedPayment, @PlannedDate, @ActualPayment, @ActualDate, @PaymentTermId, @PaidBy, @ModifiedDate, @ModifiedBy);
SELECT SalesAgentPaymentId, SalesAgentId, SalesOrderId, PlannedPayment, PlannedDate, ActualPayment, ActualDate, PaymentTermId, PaidBy, ModifiedDate, ModifiedBy, TS FROM SalesAgentPayment WHERE (SalesAgentPaymentId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@PlannedPayment" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="PlannedPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PlannedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PlannedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ActualPayment" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ActualPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ActualDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ActualDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaidBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaidBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesAgentPaymentId, SalesAgentId, SalesOrderId, PlannedPayment, PlannedDate, ActualPayment, ActualDate, PaymentTermId, PaidBy, ModifiedDate, ModifiedBy, TS FROM dbo.SalesAgentPayment</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesAgentPayment] SET [SalesAgentId] = @SalesAgentId, [SalesOrderId] = @SalesOrderId, [PlannedPayment] = @PlannedPayment, [PlannedDate] = @PlannedDate, [ActualPayment] = @ActualPayment, [ActualDate] = @ActualDate, [PaymentTermId] = @PaymentTermId, [PaidBy] = @PaidBy, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesAgentPaymentId] = @Original_SalesAgentPaymentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesAgentPaymentId, SalesAgentId, SalesOrderId, PlannedPayment, PlannedDate, ActualPayment, ActualDate, PaymentTermId, PaidBy, ModifiedDate, ModifiedBy, TS FROM SalesAgentPayment WHERE (SalesAgentPaymentId = @SalesAgentPaymentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@PlannedPayment" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="PlannedPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PlannedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PlannedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ActualPayment" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ActualPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ActualDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ActualDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PaidBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaidBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentPaymentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentPaymentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SalesAgentPaymentId" ColumnName="SalesAgentPaymentId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SalesAgentPaymentId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SalesAgentPaymentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesAgentPaymentId" DataSetColumn="SalesAgentPaymentId" />
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="SalesOrderId" DataSetColumn="SalesOrderId" />
              <Mapping SourceColumn="PlannedPayment" DataSetColumn="PlannedPayment" />
              <Mapping SourceColumn="PlannedDate" DataSetColumn="PlannedDate" />
              <Mapping SourceColumn="ActualPayment" DataSetColumn="ActualPayment" />
              <Mapping SourceColumn="ActualDate" DataSetColumn="ActualDate" />
              <Mapping SourceColumn="PaymentTermId" DataSetColumn="PaymentTermId" />
              <Mapping SourceColumn="PaidBy" DataSetColumn="PaidBy" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesAgentSalesTableAdapter" GeneratorDataComponentClassName="SalesAgentSalesTableAdapter" Name="SalesAgentSales" UserDataComponentName="SalesAgentSalesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesAgentSales" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesAgentSales] WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ([SalesOrderId] = @Original_SalesOrderId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesAgentSales] ([SalesAgentId], [SalesOrderId], [CommissionPct], [CommissionEarned], [CurrencyRateId], [KapanisTarihi], [ModifiedDate], [ModifiedBy]) VALUES (@SalesAgentId, @SalesOrderId, @CommissionPct, @CommissionEarned, @CurrencyRateId, @KapanisTarihi, @ModifiedDate, @ModifiedBy);
SELECT SalesAgentId, SalesOrderId, CommissionPct, CommissionEarned, CurrencyRateId, KapanisTarihi, ModifiedDate, ModifiedBy, TS FROM SalesAgentSales WHERE (SalesAgentId = @SalesAgentId) AND (SalesOrderId = @SalesOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionEarned" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionEarned" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyRateId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@KapanisTarihi" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="KapanisTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesAgentId, SalesOrderId, CommissionPct, CommissionEarned, CurrencyRateId, KapanisTarihi, ModifiedDate, ModifiedBy, TS FROM dbo.SalesAgentSales</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesAgentSales] SET [SalesAgentId] = @SalesAgentId, [SalesOrderId] = @SalesOrderId, [CommissionPct] = @CommissionPct, [CommissionEarned] = @CommissionEarned, [CurrencyRateId] = @CurrencyRateId, [KapanisTarihi] = @KapanisTarihi, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ([SalesOrderId] = @Original_SalesOrderId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesAgentId, SalesOrderId, CommissionPct, CommissionEarned, CurrencyRateId, KapanisTarihi, ModifiedDate, ModifiedBy, TS FROM SalesAgentSales WHERE (SalesAgentId = @SalesAgentId) AND (SalesOrderId = @SalesOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionEarned" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionEarned" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyRateId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@KapanisTarihi" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="KapanisTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="SalesOrderId" DataSetColumn="SalesOrderId" />
              <Mapping SourceColumn="CommissionPct" DataSetColumn="CommissionPct" />
              <Mapping SourceColumn="CommissionEarned" DataSetColumn="CommissionEarned" />
              <Mapping SourceColumn="CurrencyRateId" DataSetColumn="CurrencyRateId" />
              <Mapping SourceColumn="KapanisTarihi" DataSetColumn="KapanisTarihi" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesOrderDetailTableAdapter" GeneratorDataComponentClassName="SalesOrderDetailTableAdapter" Name="SalesOrderDetail" UserDataComponentName="SalesOrderDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesOrderDetail" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesOrderDetail] WHERE (([SalesOrderId] = @Original_SalesOrderId) AND ([SalesOrderDetailId] = @Original_SalesOrderDetailId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderDetailId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderDetailId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesOrderDetail] ([SalesOrderId], [CarrierTrackingNumber], [OrderQty], [ProductId], [UnitPrice], [UnitPriceDiscount], [LineTotal], [ModifiedDate], [ModifiedBy]) VALUES (@SalesOrderId, @CarrierTrackingNumber, @OrderQty, @ProductId, @UnitPrice, @UnitPriceDiscount, @LineTotal, @ModifiedDate, @ModifiedBy);
SELECT SalesOrderId, SalesOrderDetailId, CarrierTrackingNumber, OrderQty, ProductId, UnitPrice, UnitPriceDiscount, LineTotal, ModifiedDate, ModifiedBy, TS FROM SalesOrderDetail WHERE (SalesOrderDetailId = SCOPE_IDENTITY()) AND (SalesOrderId = @SalesOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CarrierTrackingNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPriceDiscount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPriceDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@LineTotal" Precision="38" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesOrderId, SalesOrderDetailId, CarrierTrackingNumber, OrderQty, ProductId, UnitPrice, UnitPriceDiscount, LineTotal, ModifiedDate, ModifiedBy, TS FROM dbo.SalesOrderDetail</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesOrderDetail] SET [SalesOrderId] = @SalesOrderId, [CarrierTrackingNumber] = @CarrierTrackingNumber, [OrderQty] = @OrderQty, [ProductId] = @ProductId, [UnitPrice] = @UnitPrice, [UnitPriceDiscount] = @UnitPriceDiscount, [LineTotal] = @LineTotal, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesOrderId] = @Original_SalesOrderId) AND ([SalesOrderDetailId] = @Original_SalesOrderDetailId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesOrderId, SalesOrderDetailId, CarrierTrackingNumber, OrderQty, ProductId, UnitPrice, UnitPriceDiscount, LineTotal, ModifiedDate, ModifiedBy, TS FROM SalesOrderDetail WHERE (SalesOrderDetailId = @SalesOrderDetailId) AND (SalesOrderId = @SalesOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CarrierTrackingNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPriceDiscount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPriceDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@LineTotal" Precision="38" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderDetailId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderDetailId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SalesOrderDetailId" ColumnName="SalesOrderDetailId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SalesOrderDetailId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SalesOrderDetailId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesOrderId" DataSetColumn="SalesOrderId" />
              <Mapping SourceColumn="SalesOrderDetailId" DataSetColumn="SalesOrderDetailId" />
              <Mapping SourceColumn="CarrierTrackingNumber" DataSetColumn="CarrierTrackingNumber" />
              <Mapping SourceColumn="OrderQty" DataSetColumn="OrderQty" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
              <Mapping SourceColumn="UnitPriceDiscount" DataSetColumn="UnitPriceDiscount" />
              <Mapping SourceColumn="LineTotal" DataSetColumn="LineTotal" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesOrderHeaderTableAdapter" GeneratorDataComponentClassName="SalesOrderHeaderTableAdapter" Name="SalesOrderHeader" UserDataComponentName="SalesOrderHeaderTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesOrderHeader" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesOrderHeader] WHERE (([SalesOrderId] = @Original_SalesOrderId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesOrderHeader] ([RevisionNumber], [OrderDate], [DueDate], [ShipDate], [Status], [SampleFlag], [SalesOrderNumber], [PurchaseOrderNumber], [AccountNumber], [CustomerId], [ContactId], [SalesPersonId], [SalesAgentId], [CountryCode], [BillToAddressId], [ShipToAddressId], [ShipMethodId], [CurrencyRateId], [SubTotal], [TaxAmt], [Freight], [TotalDue], [Comment], [ModifiedDate], [ModifiedBy]) VALUES (@RevisionNumber, @OrderDate, @DueDate, @ShipDate, @Status, @SampleFlag, @SalesOrderNumber, @PurchaseOrderNumber, @AccountNumber, @CustomerId, @ContactId, @SalesPersonId, @SalesAgentId, @CountryCode, @BillToAddressId, @ShipToAddressId, @ShipMethodId, @CurrencyRateId, @SubTotal, @TaxAmt, @Freight, @TotalDue, @Comment, @ModifiedDate, @ModifiedBy);
SELECT SalesOrderId, RevisionNumber, OrderDate, DueDate, ShipDate, Status, SampleFlag, SalesOrderNumber, PurchaseOrderNumber, AccountNumber, CustomerId, ContactId, SalesPersonId, SalesAgentId, CountryCode, BillToAddressId, ShipToAddressId, ShipMethodId, CurrencyRateId, SubTotal, TaxAmt, Freight, TotalDue, Comment, ModifiedDate, ModifiedBy, TS FROM SalesOrderHeader WHERE (SalesOrderId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SampleFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SampleFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SalesOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SalesOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PurchaseOrderNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BillToAddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BillToAddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipToAddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipToAddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyRateId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Comment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesOrderId, RevisionNumber, OrderDate, DueDate, ShipDate, Status, SampleFlag, SalesOrderNumber, PurchaseOrderNumber, AccountNumber, CustomerId, ContactId, SalesPersonId, SalesAgentId, CountryCode, BillToAddressId, ShipToAddressId, ShipMethodId, CurrencyRateId, SubTotal, TaxAmt, Freight, TotalDue, Comment, ModifiedDate, ModifiedBy, TS FROM dbo.SalesOrderHeader</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesOrderHeader] SET [RevisionNumber] = @RevisionNumber, [OrderDate] = @OrderDate, [DueDate] = @DueDate, [ShipDate] = @ShipDate, [Status] = @Status, [SampleFlag] = @SampleFlag, [SalesOrderNumber] = @SalesOrderNumber, [PurchaseOrderNumber] = @PurchaseOrderNumber, [AccountNumber] = @AccountNumber, [CustomerId] = @CustomerId, [ContactId] = @ContactId, [SalesPersonId] = @SalesPersonId, [SalesAgentId] = @SalesAgentId, [CountryCode] = @CountryCode, [BillToAddressId] = @BillToAddressId, [ShipToAddressId] = @ShipToAddressId, [ShipMethodId] = @ShipMethodId, [CurrencyRateId] = @CurrencyRateId, [SubTotal] = @SubTotal, [TaxAmt] = @TaxAmt, [Freight] = @Freight, [TotalDue] = @TotalDue, [Comment] = @Comment, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesOrderId] = @Original_SalesOrderId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesOrderId, RevisionNumber, OrderDate, DueDate, ShipDate, Status, SampleFlag, SalesOrderNumber, PurchaseOrderNumber, AccountNumber, CustomerId, ContactId, SalesPersonId, SalesAgentId, CountryCode, BillToAddressId, ShipToAddressId, ShipMethodId, CurrencyRateId, SubTotal, TaxAmt, Freight, TotalDue, Comment, ModifiedDate, ModifiedBy, TS FROM SalesOrderHeader WHERE (SalesOrderId = @SalesOrderId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SampleFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SampleFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SalesOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SalesOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PurchaseOrderNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BillToAddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BillToAddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipToAddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipToAddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyRateId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Comment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SalesOrderId" ColumnName="SalesOrderId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesOrderId" DataSetColumn="SalesOrderId" />
              <Mapping SourceColumn="RevisionNumber" DataSetColumn="RevisionNumber" />
              <Mapping SourceColumn="OrderDate" DataSetColumn="OrderDate" />
              <Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
              <Mapping SourceColumn="ShipDate" DataSetColumn="ShipDate" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="SampleFlag" DataSetColumn="SampleFlag" />
              <Mapping SourceColumn="SalesOrderNumber" DataSetColumn="SalesOrderNumber" />
              <Mapping SourceColumn="PurchaseOrderNumber" DataSetColumn="PurchaseOrderNumber" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="SalesPersonId" DataSetColumn="SalesPersonId" />
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="CountryCode" DataSetColumn="CountryCode" />
              <Mapping SourceColumn="BillToAddressId" DataSetColumn="BillToAddressId" />
              <Mapping SourceColumn="ShipToAddressId" DataSetColumn="ShipToAddressId" />
              <Mapping SourceColumn="ShipMethodId" DataSetColumn="ShipMethodId" />
              <Mapping SourceColumn="CurrencyRateId" DataSetColumn="CurrencyRateId" />
              <Mapping SourceColumn="SubTotal" DataSetColumn="SubTotal" />
              <Mapping SourceColumn="TaxAmt" DataSetColumn="TaxAmt" />
              <Mapping SourceColumn="Freight" DataSetColumn="Freight" />
              <Mapping SourceColumn="TotalDue" DataSetColumn="TotalDue" />
              <Mapping SourceColumn="Comment" DataSetColumn="Comment" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesPersonTableAdapter" GeneratorDataComponentClassName="SalesPersonTableAdapter" Name="SalesPerson" UserDataComponentName="SalesPersonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesPerson" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesPerson] WHERE (([SalesPersonId] = @Original_SalesPersonId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesPerson] ([SalesPersonId], [SalesQuota], [Bonus], [CommissionPct], [SalesYTD], [SalesLastYear], [ModifiedDate], [ModifiedBy]) VALUES (@SalesPersonId, @SalesQuota, @Bonus, @CommissionPct, @SalesYTD, @SalesLastYear, @ModifiedDate, @ModifiedBy);
SELECT SalesPersonId, SalesQuota, Bonus, CommissionPct, SalesYTD, SalesLastYear, ModifiedDate, ModifiedBy, TS FROM SalesPerson WHERE (SalesPersonId = @SalesPersonId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesQuota" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesQuota" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Bonus" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Bonus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesYTD" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesYTD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesLastYear" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesLastYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesPersonId, SalesQuota, Bonus, CommissionPct, SalesYTD, SalesLastYear, ModifiedDate, ModifiedBy, TS FROM dbo.SalesPerson</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesPerson] SET [SalesPersonId] = @SalesPersonId, [SalesQuota] = @SalesQuota, [Bonus] = @Bonus, [CommissionPct] = @CommissionPct, [SalesYTD] = @SalesYTD, [SalesLastYear] = @SalesLastYear, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesPersonId] = @Original_SalesPersonId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesPersonId, SalesQuota, Bonus, CommissionPct, SalesYTD, SalesLastYear, ModifiedDate, ModifiedBy, TS FROM SalesPerson WHERE (SalesPersonId = @SalesPersonId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesQuota" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesQuota" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Bonus" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Bonus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesYTD" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesYTD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesLastYear" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesLastYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesPersonId" DataSetColumn="SalesPersonId" />
              <Mapping SourceColumn="SalesQuota" DataSetColumn="SalesQuota" />
              <Mapping SourceColumn="Bonus" DataSetColumn="Bonus" />
              <Mapping SourceColumn="CommissionPct" DataSetColumn="CommissionPct" />
              <Mapping SourceColumn="SalesYTD" DataSetColumn="SalesYTD" />
              <Mapping SourceColumn="SalesLastYear" DataSetColumn="SalesLastYear" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesPersonCustomerTableAdapter" GeneratorDataComponentClassName="SalesPersonCustomerTableAdapter" Name="SalesPersonCustomer" UserDataComponentName="SalesPersonCustomerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesPersonCustomer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesPersonCustomer] WHERE (([SalesPersonId] = @Original_SalesPersonId) AND ([CustomerId] = @Original_CustomerId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesPersonCustomer] ([SalesPersonId], [CustomerId], [StartDate], [EndDate]) VALUES (@SalesPersonId, @CustomerId, @StartDate, @EndDate);
SELECT SalesPersonId, CustomerId, StartDate, EndDate FROM SalesPersonCustomer WHERE (CustomerId = @CustomerId) AND (SalesPersonId = @SalesPersonId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesPersonId, CustomerId, StartDate, EndDate FROM dbo.SalesPersonCustomer</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesPersonCustomer] SET [SalesPersonId] = @SalesPersonId, [CustomerId] = @CustomerId, [StartDate] = @StartDate, [EndDate] = @EndDate WHERE (([SalesPersonId] = @Original_SalesPersonId) AND ([CustomerId] = @Original_CustomerId) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)));
SELECT SalesPersonId, CustomerId, StartDate, EndDate FROM SalesPersonCustomer WHERE (CustomerId = @CustomerId) AND (SalesPersonId = @SalesPersonId) AND (StartDate = @StartDate)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesPersonId" DataSetColumn="SalesPersonId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ShelfTableAdapter" GeneratorDataComponentClassName="ShelfTableAdapter" Name="Shelf" UserDataComponentName="ShelfTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Shelf" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Shelf] WHERE (([ShelfId] = @Original_ShelfId) AND ((@IsNull_LocationId = 1 AND [LocationId] IS NULL) OR ([LocationId] = @Original_LocationId)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LocationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Shelf] ([LocationId], [Name], [ActiveFlag]) VALUES (@LocationId, @Name, @ActiveFlag);
SELECT ShelfId, LocationId, Name, ActiveFlag FROM Shelf WHERE (ShelfId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ShelfId, LocationId, Name, ActiveFlag FROM dbo.Shelf</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Shelf] SET [LocationId] = @LocationId, [Name] = @Name, [ActiveFlag] = @ActiveFlag WHERE (([ShelfId] = @Original_ShelfId) AND ((@IsNull_LocationId = 1 AND [LocationId] IS NULL) OR ([LocationId] = @Original_LocationId)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)));
SELECT ShelfId, LocationId, Name, ActiveFlag FROM Shelf WHERE (ShelfId = @ShelfId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LocationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ShelfId" ColumnName="ShelfId" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ShelfId" DataSetColumn="ShelfId" />
              <Mapping SourceColumn="LocationId" DataSetColumn="LocationId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ShipMethodTableAdapter" GeneratorDataComponentClassName="ShipMethodTableAdapter" Name="ShipMethod" UserDataComponentName="ShipMethodTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ShipMethod" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ShipMethod] WHERE (([ShipMethodId] = @Original_ShipMethodId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ShipMethod] ([Name]) VALUES (@Name);
SELECT ShipMethodId, Name FROM ShipMethod WHERE (ShipMethodId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ShipMethodId, Name FROM dbo.ShipMethod</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ShipMethod] SET [Name] = @Name WHERE (([ShipMethodId] = @Original_ShipMethodId) AND ([Name] = @Original_Name));
SELECT ShipMethodId, Name FROM ShipMethod WHERE (ShipMethodId = @ShipMethodId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ShipMethodId" ColumnName="ShipMethodId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ShipMethodId" DataSetColumn="ShipMethodId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StokkoduTipiTableAdapter" GeneratorDataComponentClassName="StokkoduTipiTableAdapter" Name="StokkoduTipi" UserDataComponentName="StokkoduTipiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.StokkoduTipi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[StokkoduTipi] WHERE (([StokkoduTipiId] = @Original_StokkoduTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[StokkoduTipi] ([Name]) VALUES (@Name);
SELECT StokkoduTipiId, Name FROM StokkoduTipi WHERE (StokkoduTipiId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT StokkoduTipiId, Name FROM dbo.StokkoduTipi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[StokkoduTipi] SET [Name] = @Name WHERE (([StokkoduTipiId] = @Original_StokkoduTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT StokkoduTipiId, Name FROM StokkoduTipi WHERE (StokkoduTipiId = @StokkoduTipiId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StokkoduTipiId" ColumnName="StokkoduTipiId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StokkoduTipiId" DataSetColumn="StokkoduTipiId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UnitMeasureTableAdapter" GeneratorDataComponentClassName="UnitMeasureTableAdapter" Name="UnitMeasure" UserDataComponentName="UnitMeasureTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.UnitMeasure" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[UnitMeasure] WHERE (([UnitMeasureId] = @Original_UnitMeasureId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[UnitMeasure] ([UnitMeasureId], [Name]) VALUES (@UnitMeasureId, @Name);
SELECT UnitMeasureId, Name FROM UnitMeasure WHERE (UnitMeasureId = @UnitMeasureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT UnitMeasureId, Name FROM dbo.UnitMeasure</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[UnitMeasure] SET [UnitMeasureId] = @UnitMeasureId, [Name] = @Name WHERE (([UnitMeasureId] = @Original_UnitMeasureId) AND ([Name] = @Original_Name));
SELECT UnitMeasureId, Name FROM UnitMeasure WHERE (UnitMeasureId = @UnitMeasureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UnitMeasureId" DataSetColumn="UnitMeasureId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserRightsTableAdapter" GeneratorDataComponentClassName="UserRightsTableAdapter" Name="UserRights" UserDataComponentName="UserRightsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.UserRights" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[UserRights] WHERE (([ContactId] = @Original_ContactId) AND ([ModuleId] = @Original_ModuleId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ModuleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModuleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[UserRights] ([ContactId], [ModuleId], [UserRight], [ModifiedDate], [ModifiedBy]) VALUES (@ContactId, @ModuleId, @UserRight, @ModifiedDate, @ModifiedBy);
SELECT ContactId, ModuleId, UserRight, ModifiedDate, ModifiedBy, TS FROM UserRights WHERE (ContactId = @ContactId) AND (ModuleId = @ModuleId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModuleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModuleId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@UserRight" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="UserRight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ContactId, ModuleId, UserRight, ModifiedDate, ModifiedBy, TS FROM dbo.UserRights</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[UserRights] SET [ContactId] = @ContactId, [ModuleId] = @ModuleId, [UserRight] = @UserRight, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ContactId] = @Original_ContactId) AND ([ModuleId] = @Original_ModuleId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ContactId, ModuleId, UserRight, ModifiedDate, ModifiedBy, TS FROM UserRights WHERE (ContactId = @ContactId) AND (ModuleId = @ModuleId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModuleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModuleId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@UserRight" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="UserRight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ModuleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModuleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="ModuleId" DataSetColumn="ModuleId" />
              <Mapping SourceColumn="UserRight" DataSetColumn="UserRight" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VendorTableAdapter" GeneratorDataComponentClassName="VendorTableAdapter" Name="Vendor" UserDataComponentName="VendorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Vendor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Vendor] WHERE (([VendorId] = @Original_VendorId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Vendor] ([AccountNumber], [Name], [CreditRating], [PreferredVendorStatus], [PreferredPaymentTerm], [ActiveFlag], [ModifiedDate], [ModifiedBy]) VALUES (@AccountNumber, @Name, @CreditRating, @PreferredVendorStatus, @PreferredPaymentTerm, @ActiveFlag, @ModifiedDate, @ModifiedBy);
SELECT VendorId, AccountNumber, Name, CreditRating, PreferredVendorStatus, PreferredPaymentTerm, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Vendor WHERE (VendorId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT VendorId, AccountNumber, Name, CreditRating, PreferredVendorStatus, PreferredPaymentTerm, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM dbo.Vendor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Vendor] SET [AccountNumber] = @AccountNumber, [Name] = @Name, [CreditRating] = @CreditRating, [PreferredVendorStatus] = @PreferredVendorStatus, [PreferredPaymentTerm] = @PreferredPaymentTerm, [ActiveFlag] = @ActiveFlag, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([VendorId] = @Original_VendorId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT VendorId, AccountNumber, Name, CreditRating, PreferredVendorStatus, PreferredPaymentTerm, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Vendor WHERE (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="VendorId" ColumnName="VendorId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="CreditRating" DataSetColumn="CreditRating" />
              <Mapping SourceColumn="PreferredVendorStatus" DataSetColumn="PreferredVendorStatus" />
              <Mapping SourceColumn="PreferredPaymentTerm" DataSetColumn="PreferredPaymentTerm" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VendorAddressTableAdapter" GeneratorDataComponentClassName="VendorAddressTableAdapter" Name="VendorAddress" UserDataComponentName="VendorAddressTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.VendorAddress" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[VendorAddress] WHERE (([VendorId] = @Original_VendorId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[VendorAddress] ([VendorId], [AddressId], [AddressTypeId], [ModifiedDate], [ModifiedBy]) VALUES (@VendorId, @AddressId, @AddressTypeId, @ModifiedDate, @ModifiedBy);
SELECT VendorId, AddressId, AddressTypeId, ModifiedDate, ModifiedBy, TS FROM VendorAddress WHERE (AddressId = @AddressId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT VendorId, AddressId, AddressTypeId, ModifiedDate, ModifiedBy, TS FROM dbo.VendorAddress</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[VendorAddress] SET [VendorId] = @VendorId, [AddressId] = @AddressId, [AddressTypeId] = @AddressTypeId, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([VendorId] = @Original_VendorId) AND ([AddressId] = @Original_AddressId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT VendorId, AddressId, AddressTypeId, ModifiedDate, ModifiedBy, TS FROM VendorAddress WHERE (AddressId = @AddressId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="AddressId" DataSetColumn="AddressId" />
              <Mapping SourceColumn="AddressTypeId" DataSetColumn="AddressTypeId" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VendorBankAccountTableAdapter" GeneratorDataComponentClassName="VendorBankAccountTableAdapter" Name="VendorBankAccount" UserDataComponentName="VendorBankAccountTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.VendorBankAccount" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[VendorBankAccount] WHERE (([BankAccountId] = @Original_BankAccountId) AND ([VendorId] = @Original_VendorId) AND ((@IsNull_Preferred = 1 AND [Preferred] IS NULL) OR ([Preferred] = @Original_Preferred)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Preferred" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[VendorBankAccount] ([BankAccountId], [VendorId], [Preferred]) VALUES (@BankAccountId, @VendorId, @Preferred);
SELECT BankAccountId, VendorId, Preferred FROM VendorBankAccount WHERE (BankAccountId = @BankAccountId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BankAccountId, VendorId, Preferred FROM dbo.VendorBankAccount</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[VendorBankAccount] SET [BankAccountId] = @BankAccountId, [VendorId] = @VendorId, [Preferred] = @Preferred WHERE (([BankAccountId] = @Original_BankAccountId) AND ([VendorId] = @Original_VendorId) AND ((@IsNull_Preferred = 1 AND [Preferred] IS NULL) OR ([Preferred] = @Original_Preferred)));
SELECT BankAccountId, VendorId, Preferred FROM VendorBankAccount WHERE (BankAccountId = @BankAccountId) AND (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BankAccountId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BankAccountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Preferred" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Preferred" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Preferred" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BankAccountId" DataSetColumn="BankAccountId" />
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="Preferred" DataSetColumn="Preferred" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DS" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DS" msprop:Generator_DataSetName="DS" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Address" msprop:Generator_UserTableName="Address" msprop:Generator_RowDeletedName="AddressRowDeleted" msprop:Generator_RowChangedName="AddressRowChanged" msprop:Generator_RowClassName="AddressRow" msprop:Generator_RowChangingName="AddressRowChanging" msprop:Generator_RowEvArgName="AddressRowChangeEvent" msprop:Generator_RowEvHandlerName="AddressRowChangeEventHandler" msprop:Generator_TableClassName="AddressDataTable" msprop:Generator_TableVarName="tableAddress" msprop:Generator_RowDeletingName="AddressRowDeleting" msprop:Generator_TablePropName="Address">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AddressId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="AddressId" msprop:Generator_ColumnVarNameInTable="columnAddressId" msprop:Generator_ColumnPropNameInRow="AddressId" msprop:Generator_ColumnPropNameInTable="AddressIdColumn" type="xs:int" />
              <xs:element name="AddressLine1" msprop:Generator_UserColumnName="AddressLine1" msprop:Generator_ColumnVarNameInTable="columnAddressLine1" msprop:Generator_ColumnPropNameInRow="AddressLine1" msprop:Generator_ColumnPropNameInTable="AddressLine1Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AddressLine2" msprop:Generator_UserColumnName="AddressLine2" msprop:Generator_ColumnVarNameInTable="columnAddressLine2" msprop:Generator_ColumnPropNameInRow="AddressLine2" msprop:Generator_ColumnPropNameInTable="AddressLine2Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="City" msprop:Generator_UserColumnName="City" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="State" msprop:Generator_UserColumnName="State" msprop:Generator_ColumnVarNameInTable="columnState" msprop:Generator_ColumnPropNameInRow="State" msprop:Generator_ColumnPropNameInTable="StateColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CountryCode" msprop:Generator_UserColumnName="CountryCode" msprop:Generator_ColumnVarNameInTable="columnCountryCode" msprop:Generator_ColumnPropNameInRow="CountryCode" msprop:Generator_ColumnPropNameInTable="CountryCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PostalCode" msprop:Generator_UserColumnName="PostalCode" msprop:Generator_ColumnVarNameInTable="columnPostalCode" msprop:Generator_ColumnPropNameInRow="PostalCode" msprop:Generator_ColumnPropNameInTable="PostalCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UseCount" msprop:Generator_UserColumnName="UseCount" msprop:Generator_ColumnVarNameInTable="columnUseCount" msprop:Generator_ColumnPropNameInRow="UseCount" msprop:Generator_ColumnPropNameInTable="UseCountColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="VendorContact" msprop:Generator_UserTableName="VendorContact" msprop:Generator_RowDeletedName="VendorContactRowDeleted" msprop:Generator_RowChangedName="VendorContactRowChanged" msprop:Generator_RowClassName="VendorContactRow" msprop:Generator_RowChangingName="VendorContactRowChanging" msprop:Generator_RowEvArgName="VendorContactRowChangeEvent" msprop:Generator_RowEvHandlerName="VendorContactRowChangeEventHandler" msprop:Generator_TableClassName="VendorContactDataTable" msprop:Generator_TableVarName="tableVendorContact" msprop:Generator_RowDeletingName="VendorContactRowDeleting" msprop:Generator_TablePropName="VendorContact">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="VendorId" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" />
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="ContactTypeId" msprop:Generator_UserColumnName="ContactTypeId" msprop:Generator_ColumnVarNameInTable="columnContactTypeId" msprop:Generator_ColumnPropNameInRow="ContactTypeId" msprop:Generator_ColumnPropNameInTable="ContactTypeIdColumn" type="xs:int" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="AddressType" msprop:Generator_UserTableName="AddressType" msprop:Generator_RowDeletedName="AddressTypeRowDeleted" msprop:Generator_RowChangedName="AddressTypeRowChanged" msprop:Generator_RowClassName="AddressTypeRow" msprop:Generator_RowChangingName="AddressTypeRowChanging" msprop:Generator_RowEvArgName="AddressTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="AddressTypeRowChangeEventHandler" msprop:Generator_TableClassName="AddressTypeDataTable" msprop:Generator_TableVarName="tableAddressType" msprop:Generator_RowDeletingName="AddressTypeRowDeleting" msprop:Generator_TablePropName="AddressType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AddressTypeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="AddressTypeId" msprop:Generator_ColumnVarNameInTable="columnAddressTypeId" msprop:Generator_ColumnPropNameInRow="AddressTypeId" msprop:Generator_ColumnPropNameInTable="AddressTypeIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="AlisSekli" msprop:Generator_UserTableName="AlisSekli" msprop:Generator_RowDeletedName="AlisSekliRowDeleted" msprop:Generator_RowChangedName="AlisSekliRowChanged" msprop:Generator_RowClassName="AlisSekliRow" msprop:Generator_RowChangingName="AlisSekliRowChanging" msprop:Generator_RowEvArgName="AlisSekliRowChangeEvent" msprop:Generator_RowEvHandlerName="AlisSekliRowChangeEventHandler" msprop:Generator_TableClassName="AlisSekliDataTable" msprop:Generator_TableVarName="tableAlisSekli" msprop:Generator_RowDeletingName="AlisSekliRowDeleting" msprop:Generator_TablePropName="AlisSekli">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AlisSekliId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="AlisSekliId" msprop:Generator_ColumnVarNameInTable="columnAlisSekliId" msprop:Generator_ColumnPropNameInRow="AlisSekliId" msprop:Generator_ColumnPropNameInTable="AlisSekliIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BankAccount" msprop:Generator_UserTableName="BankAccount" msprop:Generator_RowDeletedName="BankAccountRowDeleted" msprop:Generator_RowChangedName="BankAccountRowChanged" msprop:Generator_RowClassName="BankAccountRow" msprop:Generator_RowChangingName="BankAccountRowChanging" msprop:Generator_RowEvArgName="BankAccountRowChangeEvent" msprop:Generator_RowEvHandlerName="BankAccountRowChangeEventHandler" msprop:Generator_TableClassName="BankAccountDataTable" msprop:Generator_TableVarName="tableBankAccount" msprop:Generator_RowDeletingName="BankAccountRowDeleting" msprop:Generator_TablePropName="BankAccount">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BankAccountId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="BankAccountId" msprop:Generator_ColumnVarNameInTable="columnBankAccountId" msprop:Generator_ColumnPropNameInRow="BankAccountId" msprop:Generator_ColumnPropNameInTable="BankAccountIdColumn" type="xs:int" />
              <xs:element name="BankName" msprop:Generator_UserColumnName="BankName" msprop:Generator_ColumnVarNameInTable="columnBankName" msprop:Generator_ColumnPropNameInRow="BankName" msprop:Generator_ColumnPropNameInTable="BankNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BranchName" msprop:Generator_UserColumnName="BranchName" msprop:Generator_ColumnVarNameInTable="columnBranchName" msprop:Generator_ColumnPropNameInRow="BranchName" msprop:Generator_ColumnPropNameInTable="BranchNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BranchCode" msprop:Generator_UserColumnName="BranchCode" msprop:Generator_ColumnVarNameInTable="columnBranchCode" msprop:Generator_ColumnPropNameInRow="BranchCode" msprop:Generator_ColumnPropNameInTable="BranchCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CountryCode" msprop:Generator_UserColumnName="CountryCode" msprop:Generator_ColumnVarNameInTable="columnCountryCode" msprop:Generator_ColumnPropNameInRow="CountryCode" msprop:Generator_ColumnPropNameInTable="CountryCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AccountNumber" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IBANCode" msprop:Generator_UserColumnName="IBANCode" msprop:Generator_ColumnVarNameInTable="columnIBANCode" msprop:Generator_ColumnPropNameInRow="IBANCode" msprop:Generator_ColumnPropNameInTable="IBANCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UseCount" msprop:Generator_UserColumnName="UseCount" msprop:Generator_ColumnVarNameInTable="columnUseCount" msprop:Generator_ColumnPropNameInRow="UseCount" msprop:Generator_ColumnPropNameInTable="UseCountColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BelgeTipi" msprop:Generator_UserTableName="BelgeTipi" msprop:Generator_RowDeletedName="BelgeTipiRowDeleted" msprop:Generator_RowChangedName="BelgeTipiRowChanged" msprop:Generator_RowClassName="BelgeTipiRow" msprop:Generator_RowChangingName="BelgeTipiRowChanging" msprop:Generator_RowEvArgName="BelgeTipiRowChangeEvent" msprop:Generator_RowEvHandlerName="BelgeTipiRowChangeEventHandler" msprop:Generator_TableClassName="BelgeTipiDataTable" msprop:Generator_TableVarName="tableBelgeTipi" msprop:Generator_RowDeletingName="BelgeTipiRowDeleting" msprop:Generator_TablePropName="BelgeTipi">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BelgeTipiId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="BelgeTipiId" msprop:Generator_ColumnVarNameInTable="columnBelgeTipiId" msprop:Generator_ColumnPropNameInRow="BelgeTipiId" msprop:Generator_ColumnPropNameInTable="BelgeTipiIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BillOfMaterials" msprop:Generator_UserTableName="BillOfMaterials" msprop:Generator_RowDeletedName="BillOfMaterialsRowDeleted" msprop:Generator_RowChangedName="BillOfMaterialsRowChanged" msprop:Generator_RowClassName="BillOfMaterialsRow" msprop:Generator_RowChangingName="BillOfMaterialsRowChanging" msprop:Generator_RowEvArgName="BillOfMaterialsRowChangeEvent" msprop:Generator_RowEvHandlerName="BillOfMaterialsRowChangeEventHandler" msprop:Generator_TableClassName="BillOfMaterialsDataTable" msprop:Generator_TableVarName="tableBillOfMaterials" msprop:Generator_RowDeletingName="BillOfMaterialsRowDeleting" msprop:Generator_TablePropName="BillOfMaterials">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BillOfMaterialsId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="BillOfMaterialsId" msprop:Generator_ColumnVarNameInTable="columnBillOfMaterialsId" msprop:Generator_ColumnPropNameInRow="BillOfMaterialsId" msprop:Generator_ColumnPropNameInTable="BillOfMaterialsIdColumn" type="xs:int" />
              <xs:element name="ProductAssemblyId" msprop:Generator_UserColumnName="ProductAssemblyId" msprop:Generator_ColumnVarNameInTable="columnProductAssemblyId" msprop:Generator_ColumnPropNameInRow="ProductAssemblyId" msprop:Generator_ColumnPropNameInTable="ProductAssemblyIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ComponentId" msprop:Generator_UserColumnName="ComponentId" msprop:Generator_ColumnVarNameInTable="columnComponentId" msprop:Generator_ColumnPropNameInRow="ComponentId" msprop:Generator_ColumnPropNameInTable="ComponentIdColumn" type="xs:int" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="UnitMeasureId" msprop:Generator_UserColumnName="UnitMeasureId" msprop:Generator_ColumnVarNameInTable="columnUnitMeasureId" msprop:Generator_ColumnPropNameInRow="UnitMeasureId" msprop:Generator_ColumnPropNameInTable="UnitMeasureIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BOMLevel" msprop:Generator_UserColumnName="BOMLevel" msprop:Generator_ColumnVarNameInTable="columnBOMLevel" msprop:Generator_ColumnPropNameInRow="BOMLevel" msprop:Generator_ColumnPropNameInTable="BOMLevelColumn" type="xs:short" />
              <xs:element name="PerAssemblyQty" msprop:Generator_UserColumnName="PerAssemblyQty" msprop:Generator_ColumnVarNameInTable="columnPerAssemblyQty" msprop:Generator_ColumnPropNameInRow="PerAssemblyQty" msprop:Generator_ColumnPropNameInTable="PerAssemblyQtyColumn" type="xs:decimal" />
              <xs:element name="CustomerSupplied" msprop:Generator_UserColumnName="CustomerSupplied" msprop:Generator_ColumnVarNameInTable="columnCustomerSupplied" msprop:Generator_ColumnPropNameInRow="CustomerSupplied" msprop:Generator_ColumnPropNameInTable="CustomerSuppliedColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="Position" msprop:Generator_UserColumnName="Position" msprop:Generator_ColumnVarNameInTable="columnPosition" msprop:Generator_ColumnPropNameInRow="Position" msprop:Generator_ColumnPropNameInTable="PositionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Carrier" msprop:Generator_UserTableName="Carrier" msprop:Generator_RowDeletedName="CarrierRowDeleted" msprop:Generator_RowChangedName="CarrierRowChanged" msprop:Generator_RowClassName="CarrierRow" msprop:Generator_RowChangingName="CarrierRowChanging" msprop:Generator_RowEvArgName="CarrierRowChangeEvent" msprop:Generator_RowEvHandlerName="CarrierRowChangeEventHandler" msprop:Generator_TableClassName="CarrierDataTable" msprop:Generator_TableVarName="tableCarrier" msprop:Generator_RowDeletingName="CarrierRowDeleting" msprop:Generator_TablePropName="Carrier">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CarrierId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CarrierId" msprop:Generator_ColumnVarNameInTable="columnCarrierId" msprop:Generator_ColumnPropNameInRow="CarrierId" msprop:Generator_ColumnPropNameInTable="CarrierIdColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Contact" msprop:Generator_UserTableName="Contact" msprop:Generator_RowDeletedName="ContactRowDeleted" msprop:Generator_RowChangedName="ContactRowChanged" msprop:Generator_RowClassName="ContactRow" msprop:Generator_RowChangingName="ContactRowChanging" msprop:Generator_RowEvArgName="ContactRowChangeEvent" msprop:Generator_RowEvHandlerName="ContactRowChangeEventHandler" msprop:Generator_TableClassName="ContactDataTable" msprop:Generator_TableVarName="tableContact" msprop:Generator_RowDeletingName="ContactRowDeleting" msprop:Generator_TablePropName="Contact">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ContactId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FirstName" msprop:Generator_UserColumnName="FirstName" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MiddleName" msprop:Generator_UserColumnName="MiddleName" msprop:Generator_ColumnVarNameInTable="columnMiddleName" msprop:Generator_ColumnPropNameInRow="MiddleName" msprop:Generator_ColumnPropNameInTable="MiddleNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LastName" msprop:Generator_UserColumnName="LastName" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmailAddress" msprop:Generator_UserColumnName="EmailAddress" msprop:Generator_ColumnVarNameInTable="columnEmailAddress" msprop:Generator_ColumnPropNameInRow="EmailAddress" msprop:Generator_ColumnPropNameInTable="EmailAddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone1" msprop:Generator_UserColumnName="Phone1" msprop:Generator_ColumnVarNameInTable="columnPhone1" msprop:Generator_ColumnPropNameInRow="Phone1" msprop:Generator_ColumnPropNameInTable="Phone1Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone2" msprop:Generator_UserColumnName="Phone2" msprop:Generator_ColumnVarNameInTable="columnPhone2" msprop:Generator_ColumnPropNameInRow="Phone2" msprop:Generator_ColumnPropNameInTable="Phone2Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mobile" msprop:Generator_UserColumnName="Mobile" msprop:Generator_ColumnVarNameInTable="columnMobile" msprop:Generator_ColumnPropNameInRow="Mobile" msprop:Generator_ColumnPropNameInTable="MobileColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AdditionalContactInfo" msprop:Generator_UserColumnName="AdditionalContactInfo" msprop:Generator_ColumnVarNameInTable="columnAdditionalContactInfo" msprop:Generator_ColumnPropNameInRow="AdditionalContactInfo" msprop:Generator_ColumnPropNameInTable="AdditionalContactInfoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Photo" msprop:Generator_UserColumnName="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="Username" msprop:Generator_UserColumnName="Username" msprop:Generator_ColumnVarNameInTable="columnUsername" msprop:Generator_ColumnPropNameInRow="Username" msprop:Generator_ColumnPropNameInTable="UsernameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PasswordHash" msprop:Generator_UserColumnName="PasswordHash" msprop:Generator_ColumnVarNameInTable="columnPasswordHash" msprop:Generator_ColumnPropNameInRow="PasswordHash" msprop:Generator_ColumnPropNameInTable="PasswordHashColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PasswordSalt" msprop:Generator_UserColumnName="PasswordSalt" msprop:Generator_ColumnVarNameInTable="columnPasswordSalt" msprop:Generator_ColumnPropNameInRow="PasswordSalt" msprop:Generator_ColumnPropNameInTable="PasswordSaltColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SqlUser" msprop:Generator_UserColumnName="SqlUser" msprop:Generator_ColumnVarNameInTable="columnSqlUser" msprop:Generator_ColumnPropNameInRow="SqlUser" msprop:Generator_ColumnPropNameInTable="SqlUserColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsActive" msprop:Generator_UserColumnName="IsActive" msprop:Generator_ColumnVarNameInTable="columnIsActive" msprop:Generator_ColumnPropNameInRow="IsActive" msprop:Generator_ColumnPropNameInTable="IsActiveColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ContactType" msprop:Generator_UserTableName="ContactType" msprop:Generator_RowDeletedName="ContactTypeRowDeleted" msprop:Generator_RowChangedName="ContactTypeRowChanged" msprop:Generator_RowClassName="ContactTypeRow" msprop:Generator_RowChangingName="ContactTypeRowChanging" msprop:Generator_RowEvArgName="ContactTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="ContactTypeRowChangeEventHandler" msprop:Generator_TableClassName="ContactTypeDataTable" msprop:Generator_TableVarName="tableContactType" msprop:Generator_RowDeletingName="ContactTypeRowDeleting" msprop:Generator_TablePropName="ContactType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ContactTypeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ContactTypeId" msprop:Generator_ColumnVarNameInTable="columnContactTypeId" msprop:Generator_ColumnPropNameInRow="ContactTypeId" msprop:Generator_ColumnPropNameInTable="ContactTypeIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Country" msprop:Generator_UserTableName="Country" msprop:Generator_RowDeletedName="CountryRowDeleted" msprop:Generator_RowChangedName="CountryRowChanged" msprop:Generator_RowClassName="CountryRow" msprop:Generator_RowChangingName="CountryRowChanging" msprop:Generator_RowEvArgName="CountryRowChangeEvent" msprop:Generator_RowEvHandlerName="CountryRowChangeEventHandler" msprop:Generator_TableClassName="CountryDataTable" msprop:Generator_TableVarName="tableCountry" msprop:Generator_RowDeletingName="CountryRowDeleting" msprop:Generator_TablePropName="Country">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CountryCode" msprop:Generator_UserColumnName="CountryCode" msprop:Generator_ColumnVarNameInTable="columnCountryCode" msprop:Generator_ColumnPropNameInRow="CountryCode" msprop:Generator_ColumnPropNameInTable="CountryCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Territory" msprop:Generator_UserColumnName="Territory" msprop:Generator_ColumnVarNameInTable="columnTerritory" msprop:Generator_ColumnPropNameInRow="Territory" msprop:Generator_ColumnPropNameInTable="TerritoryColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OriginId" msprop:Generator_UserColumnName="OriginId" msprop:Generator_ColumnVarNameInTable="columnOriginId" msprop:Generator_ColumnPropNameInRow="OriginId" msprop:Generator_ColumnPropNameInTable="OriginIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CultureId" msprop:Generator_UserColumnName="CultureId" msprop:Generator_ColumnVarNameInTable="columnCultureId" msprop:Generator_ColumnPropNameInRow="CultureId" msprop:Generator_ColumnPropNameInTable="CultureIdColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="6" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CurrencyCode" msprop:Generator_UserColumnName="CurrencyCode" msprop:Generator_ColumnVarNameInTable="columnCurrencyCode" msprop:Generator_ColumnPropNameInRow="CurrencyCode" msprop:Generator_ColumnPropNameInTable="CurrencyCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Culture" msprop:Generator_UserTableName="Culture" msprop:Generator_RowDeletedName="CultureRowDeleted" msprop:Generator_RowChangedName="CultureRowChanged" msprop:Generator_RowClassName="CultureRow" msprop:Generator_RowChangingName="CultureRowChanging" msprop:Generator_RowEvArgName="CultureRowChangeEvent" msprop:Generator_RowEvHandlerName="CultureRowChangeEventHandler" msprop:Generator_TableClassName="CultureDataTable" msprop:Generator_TableVarName="tableCulture" msprop:Generator_RowDeletingName="CultureRowDeleting" msprop:Generator_TablePropName="Culture">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CultureId" msprop:Generator_UserColumnName="CultureId" msprop:Generator_ColumnVarNameInTable="columnCultureId" msprop:Generator_ColumnPropNameInRow="CultureId" msprop:Generator_ColumnPropNameInTable="CultureIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="6" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Currency" msprop:Generator_UserTableName="Currency" msprop:Generator_RowDeletedName="CurrencyRowDeleted" msprop:Generator_RowChangedName="CurrencyRowChanged" msprop:Generator_RowClassName="CurrencyRow" msprop:Generator_RowChangingName="CurrencyRowChanging" msprop:Generator_RowEvArgName="CurrencyRowChangeEvent" msprop:Generator_RowEvHandlerName="CurrencyRowChangeEventHandler" msprop:Generator_TableClassName="CurrencyDataTable" msprop:Generator_TableVarName="tableCurrency" msprop:Generator_RowDeletingName="CurrencyRowDeleting" msprop:Generator_TablePropName="Currency">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CurrencyCode" msprop:Generator_UserColumnName="CurrencyCode" msprop:Generator_ColumnVarNameInTable="columnCurrencyCode" msprop:Generator_ColumnPropNameInRow="CurrencyCode" msprop:Generator_ColumnPropNameInTable="CurrencyCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CurrencyRate" msprop:Generator_UserTableName="CurrencyRate" msprop:Generator_RowDeletedName="CurrencyRateRowDeleted" msprop:Generator_RowChangedName="CurrencyRateRowChanged" msprop:Generator_RowClassName="CurrencyRateRow" msprop:Generator_RowChangingName="CurrencyRateRowChanging" msprop:Generator_RowEvArgName="CurrencyRateRowChangeEvent" msprop:Generator_RowEvHandlerName="CurrencyRateRowChangeEventHandler" msprop:Generator_TableClassName="CurrencyRateDataTable" msprop:Generator_TableVarName="tableCurrencyRate" msprop:Generator_RowDeletingName="CurrencyRateRowDeleting" msprop:Generator_TablePropName="CurrencyRate">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CurrencyRateId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CurrencyRateId" msprop:Generator_ColumnVarNameInTable="columnCurrencyRateId" msprop:Generator_ColumnPropNameInRow="CurrencyRateId" msprop:Generator_ColumnPropNameInTable="CurrencyRateIdColumn" type="xs:int" />
              <xs:element name="CurrencyRateDate" msprop:Generator_UserColumnName="CurrencyRateDate" msprop:Generator_ColumnVarNameInTable="columnCurrencyRateDate" msprop:Generator_ColumnPropNameInRow="CurrencyRateDate" msprop:Generator_ColumnPropNameInTable="CurrencyRateDateColumn" type="xs:dateTime" />
              <xs:element name="FromCurrencyCode" msprop:Generator_UserColumnName="FromCurrencyCode" msprop:Generator_ColumnVarNameInTable="columnFromCurrencyCode" msprop:Generator_ColumnPropNameInRow="FromCurrencyCode" msprop:Generator_ColumnPropNameInTable="FromCurrencyCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ToCurrencyCode" msprop:Generator_UserColumnName="ToCurrencyCode" msprop:Generator_ColumnVarNameInTable="columnToCurrencyCode" msprop:Generator_ColumnPropNameInRow="ToCurrencyCode" msprop:Generator_ColumnPropNameInTable="ToCurrencyCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Rate" msprop:Generator_UserColumnName="Rate" msprop:Generator_ColumnVarNameInTable="columnRate" msprop:Generator_ColumnPropNameInRow="Rate" msprop:Generator_ColumnPropNameInTable="RateColumn" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Customer" msprop:Generator_UserTableName="Customer" msprop:Generator_RowDeletedName="CustomerRowDeleted" msprop:Generator_RowChangedName="CustomerRowChanged" msprop:Generator_RowClassName="CustomerRow" msprop:Generator_RowChangingName="CustomerRowChanging" msprop:Generator_RowEvArgName="CustomerRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerRowChangeEventHandler" msprop:Generator_TableClassName="CustomerDataTable" msprop:Generator_TableVarName="tableCustomer" msprop:Generator_RowDeletingName="CustomerRowDeleting" msprop:Generator_TablePropName="Customer">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="AccountNumber" msdata:ReadOnly="true" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Demographics" msprop:Generator_UserColumnName="Demographics" msprop:Generator_ColumnVarNameInTable="columnDemographics" msprop:Generator_ColumnPropNameInRow="Demographics" msprop:Generator_ColumnPropNameInTable="DemographicsColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CountryCode" msprop:Generator_UserColumnName="CountryCode" msprop:Generator_ColumnVarNameInTable="columnCountryCode" msprop:Generator_ColumnPropNameInRow="CountryCode" msprop:Generator_ColumnPropNameInTable="CountryCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PreferredShipMethod" msprop:Generator_UserColumnName="PreferredShipMethod" msprop:Generator_ColumnVarNameInTable="columnPreferredShipMethod" msprop:Generator_ColumnPropNameInRow="PreferredShipMethod" msprop:Generator_ColumnPropNameInTable="PreferredShipMethodColumn" type="xs:int" minOccurs="0" />
              <xs:element name="PreferredPaymentTerm" msprop:Generator_UserColumnName="PreferredPaymentTerm" msprop:Generator_ColumnVarNameInTable="columnPreferredPaymentTerm" msprop:Generator_ColumnPropNameInRow="PreferredPaymentTerm" msprop:Generator_ColumnPropNameInTable="PreferredPaymentTermColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="VergiDairesi" msprop:Generator_UserColumnName="VergiDairesi" msprop:Generator_ColumnVarNameInTable="columnVergiDairesi" msprop:Generator_ColumnPropNameInRow="VergiDairesi" msprop:Generator_ColumnPropNameInTable="VergiDairesiColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VergiNo" msprop:Generator_UserColumnName="VergiNo" msprop:Generator_ColumnVarNameInTable="columnVergiNo" msprop:Generator_ColumnPropNameInRow="VergiNo" msprop:Generator_ColumnPropNameInTable="VergiNoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerAddress" msprop:Generator_UserTableName="CustomerAddress" msprop:Generator_RowDeletedName="CustomerAddressRowDeleted" msprop:Generator_RowChangedName="CustomerAddressRowChanged" msprop:Generator_RowClassName="CustomerAddressRow" msprop:Generator_RowChangingName="CustomerAddressRowChanging" msprop:Generator_RowEvArgName="CustomerAddressRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerAddressRowChangeEventHandler" msprop:Generator_TableClassName="CustomerAddressDataTable" msprop:Generator_TableVarName="tableCustomerAddress" msprop:Generator_RowDeletingName="CustomerAddressRowDeleting" msprop:Generator_TablePropName="CustomerAddress">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="AddressId" msprop:Generator_UserColumnName="AddressId" msprop:Generator_ColumnVarNameInTable="columnAddressId" msprop:Generator_ColumnPropNameInRow="AddressId" msprop:Generator_ColumnPropNameInTable="AddressIdColumn" type="xs:int" />
              <xs:element name="AddressTypeId" msprop:Generator_UserColumnName="AddressTypeId" msprop:Generator_ColumnVarNameInTable="columnAddressTypeId" msprop:Generator_ColumnPropNameInRow="AddressTypeId" msprop:Generator_ColumnPropNameInTable="AddressTypeIdColumn" type="xs:int" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerBankAccount" msprop:Generator_UserTableName="CustomerBankAccount" msprop:Generator_RowDeletedName="CustomerBankAccountRowDeleted" msprop:Generator_RowChangedName="CustomerBankAccountRowChanged" msprop:Generator_RowClassName="CustomerBankAccountRow" msprop:Generator_RowChangingName="CustomerBankAccountRowChanging" msprop:Generator_RowEvArgName="CustomerBankAccountRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerBankAccountRowChangeEventHandler" msprop:Generator_TableClassName="CustomerBankAccountDataTable" msprop:Generator_TableVarName="tableCustomerBankAccount" msprop:Generator_RowDeletingName="CustomerBankAccountRowDeleting" msprop:Generator_TablePropName="CustomerBankAccount">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BankAccountId" msprop:Generator_UserColumnName="BankAccountId" msprop:Generator_ColumnVarNameInTable="columnBankAccountId" msprop:Generator_ColumnPropNameInRow="BankAccountId" msprop:Generator_ColumnPropNameInTable="BankAccountIdColumn" type="xs:int" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="Preferred" msprop:Generator_UserColumnName="Preferred" msprop:Generator_ColumnVarNameInTable="columnPreferred" msprop:Generator_ColumnPropNameInRow="Preferred" msprop:Generator_ColumnPropNameInTable="PreferredColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerBrand" msprop:Generator_UserTableName="CustomerBrand" msprop:Generator_RowDeletedName="CustomerBrandRowDeleted" msprop:Generator_RowChangedName="CustomerBrandRowChanged" msprop:Generator_RowClassName="CustomerBrandRow" msprop:Generator_RowChangingName="CustomerBrandRowChanging" msprop:Generator_RowEvArgName="CustomerBrandRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerBrandRowChangeEventHandler" msprop:Generator_TableClassName="CustomerBrandDataTable" msprop:Generator_TableVarName="tableCustomerBrand" msprop:Generator_RowDeletingName="CustomerBrandRowDeleting" msprop:Generator_TablePropName="CustomerBrand">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BrandId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="BrandId" msprop:Generator_ColumnVarNameInTable="columnBrandId" msprop:Generator_ColumnPropNameInRow="BrandId" msprop:Generator_ColumnPropNameInTable="BrandIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="128" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerContact" msprop:Generator_UserTableName="CustomerContact" msprop:Generator_RowDeletedName="CustomerContactRowDeleted" msprop:Generator_RowChangedName="CustomerContactRowChanged" msprop:Generator_RowClassName="CustomerContactRow" msprop:Generator_RowChangingName="CustomerContactRowChanging" msprop:Generator_RowEvArgName="CustomerContactRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerContactRowChangeEventHandler" msprop:Generator_TableClassName="CustomerContactDataTable" msprop:Generator_TableVarName="tableCustomerContact" msprop:Generator_RowDeletingName="CustomerContactRowDeleting" msprop:Generator_TablePropName="CustomerContact">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="ContactTypeId" msprop:Generator_UserColumnName="ContactTypeId" msprop:Generator_ColumnVarNameInTable="columnContactTypeId" msprop:Generator_ColumnPropNameInRow="ContactTypeId" msprop:Generator_ColumnPropNameInTable="ContactTypeIdColumn" type="xs:int" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DeliveryTerm" msprop:Generator_UserTableName="DeliveryTerm" msprop:Generator_RowDeletedName="DeliveryTermRowDeleted" msprop:Generator_RowChangedName="DeliveryTermRowChanged" msprop:Generator_RowClassName="DeliveryTermRow" msprop:Generator_RowChangingName="DeliveryTermRowChanging" msprop:Generator_RowEvArgName="DeliveryTermRowChangeEvent" msprop:Generator_RowEvHandlerName="DeliveryTermRowChangeEventHandler" msprop:Generator_TableClassName="DeliveryTermDataTable" msprop:Generator_TableVarName="tableDeliveryTerm" msprop:Generator_RowDeletingName="DeliveryTermRowDeleting" msprop:Generator_TablePropName="DeliveryTerm">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DeliveryTermId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DeliveryTermId" msprop:Generator_ColumnVarNameInTable="columnDeliveryTermId" msprop:Generator_ColumnPropNameInRow="DeliveryTermId" msprop:Generator_ColumnPropNameInTable="DeliveryTermIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Department" msprop:Generator_UserTableName="Department" msprop:Generator_RowDeletedName="DepartmentRowDeleted" msprop:Generator_RowChangedName="DepartmentRowChanged" msprop:Generator_RowClassName="DepartmentRow" msprop:Generator_RowChangingName="DepartmentRowChanging" msprop:Generator_RowEvArgName="DepartmentRowChangeEvent" msprop:Generator_RowEvHandlerName="DepartmentRowChangeEventHandler" msprop:Generator_TableClassName="DepartmentDataTable" msprop:Generator_TableVarName="tableDepartment" msprop:Generator_RowDeletingName="DepartmentRowDeleting" msprop:Generator_TablePropName="Department">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DepartmentId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="DepartmentId" msprop:Generator_ColumnVarNameInTable="columnDepartmentId" msprop:Generator_ColumnPropNameInRow="DepartmentId" msprop:Generator_ColumnPropNameInTable="DepartmentIdColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="GroupName" msprop:Generator_UserColumnName="GroupName" msprop:Generator_ColumnVarNameInTable="columnGroupName" msprop:Generator_ColumnPropNameInRow="GroupName" msprop:Generator_ColumnPropNameInTable="GroupNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Document" msprop:Generator_UserTableName="Document" msprop:Generator_RowDeletedName="DocumentRowDeleted" msprop:Generator_RowChangedName="DocumentRowChanged" msprop:Generator_RowClassName="DocumentRow" msprop:Generator_RowChangingName="DocumentRowChanging" msprop:Generator_RowEvArgName="DocumentRowChangeEvent" msprop:Generator_RowEvHandlerName="DocumentRowChangeEventHandler" msprop:Generator_TableClassName="DocumentDataTable" msprop:Generator_TableVarName="tableDocument" msprop:Generator_RowDeletingName="DocumentRowDeleting" msprop:Generator_TablePropName="Document">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DocumentId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="DocumentId" msprop:Generator_ColumnVarNameInTable="columnDocumentId" msprop:Generator_ColumnPropNameInRow="DocumentId" msprop:Generator_ColumnPropNameInTable="DocumentIdColumn" type="xs:int" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FileName" msprop:Generator_UserColumnName="FileName" msprop:Generator_ColumnVarNameInTable="columnFileName" msprop:Generator_ColumnPropNameInRow="FileName" msprop:Generator_ColumnPropNameInTable="FileNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="400" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FileExtension" msprop:Generator_UserColumnName="FileExtension" msprop:Generator_ColumnVarNameInTable="columnFileExtension" msprop:Generator_ColumnPropNameInRow="FileExtension" msprop:Generator_ColumnPropNameInTable="FileExtensionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Revision" msprop:Generator_UserColumnName="Revision" msprop:Generator_ColumnVarNameInTable="columnRevision" msprop:Generator_ColumnPropNameInRow="Revision" msprop:Generator_ColumnPropNameInTable="RevisionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ChangeNumber" msprop:Generator_UserColumnName="ChangeNumber" msprop:Generator_ColumnVarNameInTable="columnChangeNumber" msprop:Generator_ColumnPropNameInRow="ChangeNumber" msprop:Generator_ColumnPropNameInTable="ChangeNumberColumn" type="xs:int" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:unsignedByte" />
              <xs:element name="DocumentSummary" msprop:Generator_UserColumnName="DocumentSummary" msprop:Generator_ColumnVarNameInTable="columnDocumentSummary" msprop:Generator_ColumnPropNameInRow="DocumentSummary" msprop:Generator_ColumnPropNameInTable="DocumentSummaryColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Document" msprop:Generator_UserColumnName="Document" msprop:Generator_ColumnVarNameInTable="columnDocument" msprop:Generator_ColumnPropNameInRow="Document" msprop:Generator_ColumnPropNameInTable="DocumentColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Employee" msprop:Generator_UserTableName="Employee" msprop:Generator_RowDeletedName="EmployeeRowDeleted" msprop:Generator_RowChangedName="EmployeeRowChanged" msprop:Generator_RowClassName="EmployeeRow" msprop:Generator_RowChangingName="EmployeeRowChanging" msprop:Generator_RowEvArgName="EmployeeRowChangeEvent" msprop:Generator_RowEvHandlerName="EmployeeRowChangeEventHandler" msprop:Generator_TableClassName="EmployeeDataTable" msprop:Generator_TableVarName="tableEmployee" msprop:Generator_RowDeletingName="EmployeeRowDeleting" msprop:Generator_TablePropName="Employee">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EmployeeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="EmployeeId" msprop:Generator_ColumnVarNameInTable="columnEmployeeId" msprop:Generator_ColumnPropNameInRow="EmployeeId" msprop:Generator_ColumnPropNameInTable="EmployeeIdColumn" type="xs:int" />
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="LoginId" msprop:Generator_UserColumnName="LoginId" msprop:Generator_ColumnVarNameInTable="columnLoginId" msprop:Generator_ColumnPropNameInRow="LoginId" msprop:Generator_ColumnPropNameInTable="LoginIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="256" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ManagerId" msprop:Generator_UserColumnName="ManagerId" msprop:Generator_ColumnVarNameInTable="columnManagerId" msprop:Generator_ColumnPropNameInRow="ManagerId" msprop:Generator_ColumnPropNameInTable="ManagerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="DepartmentId" msprop:Generator_UserColumnName="DepartmentId" msprop:Generator_ColumnVarNameInTable="columnDepartmentId" msprop:Generator_ColumnPropNameInRow="DepartmentId" msprop:Generator_ColumnPropNameInTable="DepartmentIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BirthDate" msprop:Generator_UserColumnName="BirthDate" msprop:Generator_ColumnVarNameInTable="columnBirthDate" msprop:Generator_ColumnPropNameInRow="BirthDate" msprop:Generator_ColumnPropNameInTable="BirthDateColumn" type="xs:dateTime" />
              <xs:element name="MaritalStatus" msprop:Generator_UserColumnName="MaritalStatus" msprop:Generator_ColumnVarNameInTable="columnMaritalStatus" msprop:Generator_ColumnPropNameInRow="MaritalStatus" msprop:Generator_ColumnPropNameInTable="MaritalStatusColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="EmployeeAddress" msprop:Generator_UserTableName="EmployeeAddress" msprop:Generator_RowDeletedName="EmployeeAddressRowDeleted" msprop:Generator_RowChangedName="EmployeeAddressRowChanged" msprop:Generator_RowClassName="EmployeeAddressRow" msprop:Generator_RowChangingName="EmployeeAddressRowChanging" msprop:Generator_RowEvArgName="EmployeeAddressRowChangeEvent" msprop:Generator_RowEvHandlerName="EmployeeAddressRowChangeEventHandler" msprop:Generator_TableClassName="EmployeeAddressDataTable" msprop:Generator_TableVarName="tableEmployeeAddress" msprop:Generator_RowDeletingName="EmployeeAddressRowDeleting" msprop:Generator_TablePropName="EmployeeAddress">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EmployeeId" msprop:Generator_UserColumnName="EmployeeId" msprop:Generator_ColumnVarNameInTable="columnEmployeeId" msprop:Generator_ColumnPropNameInRow="EmployeeId" msprop:Generator_ColumnPropNameInTable="EmployeeIdColumn" type="xs:int" />
              <xs:element name="AddressId" msprop:Generator_UserColumnName="AddressId" msprop:Generator_ColumnVarNameInTable="columnAddressId" msprop:Generator_ColumnPropNameInRow="AddressId" msprop:Generator_ColumnPropNameInTable="AddressIdColumn" type="xs:int" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ExpenseMatrix" msprop:Generator_UserTableName="ExpenseMatrix" msprop:Generator_RowDeletedName="ExpenseMatrixRowDeleted" msprop:Generator_RowChangedName="ExpenseMatrixRowChanged" msprop:Generator_RowClassName="ExpenseMatrixRow" msprop:Generator_RowChangingName="ExpenseMatrixRowChanging" msprop:Generator_RowEvArgName="ExpenseMatrixRowChangeEvent" msprop:Generator_RowEvHandlerName="ExpenseMatrixRowChangeEventHandler" msprop:Generator_TableClassName="ExpenseMatrixDataTable" msprop:Generator_TableVarName="tableExpenseMatrix" msprop:Generator_RowDeletingName="ExpenseMatrixRowDeleting" msprop:Generator_TablePropName="ExpenseMatrix">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DeliveryTermId" msprop:Generator_UserColumnName="DeliveryTermId" msprop:Generator_ColumnVarNameInTable="columnDeliveryTermId" msprop:Generator_ColumnPropNameInRow="DeliveryTermId" msprop:Generator_ColumnPropNameInTable="DeliveryTermIdColumn" type="xs:unsignedByte" />
              <xs:element name="OriginId" msprop:Generator_UserColumnName="OriginId" msprop:Generator_ColumnVarNameInTable="columnOriginId" msprop:Generator_ColumnPropNameInRow="OriginId" msprop:Generator_ColumnPropNameInTable="OriginIdColumn" type="xs:int" />
              <xs:element name="Percentage" msprop:Generator_UserColumnName="Percentage" msprop:Generator_ColumnVarNameInTable="columnPercentage" msprop:Generator_ColumnPropNameInRow="Percentage" msprop:Generator_ColumnPropNameInTable="PercentageColumn" type="xs:float" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ExpensePercentage" msprop:Generator_UserTableName="ExpensePercentage" msprop:Generator_RowDeletedName="ExpensePercentageRowDeleted" msprop:Generator_RowChangedName="ExpensePercentageRowChanged" msprop:Generator_RowClassName="ExpensePercentageRow" msprop:Generator_RowChangingName="ExpensePercentageRowChanging" msprop:Generator_RowEvArgName="ExpensePercentageRowChangeEvent" msprop:Generator_RowEvHandlerName="ExpensePercentageRowChangeEventHandler" msprop:Generator_TableClassName="ExpensePercentageDataTable" msprop:Generator_TableVarName="tableExpensePercentage" msprop:Generator_RowDeletingName="ExpensePercentageRowDeleting" msprop:Generator_TablePropName="ExpensePercentage">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ExpensePercentageId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ExpensePercentageId" msprop:Generator_ColumnVarNameInTable="columnExpensePercentageId" msprop:Generator_ColumnPropNameInRow="ExpensePercentageId" msprop:Generator_ColumnPropNameInTable="ExpensePercentageIdColumn" type="xs:unsignedByte" />
              <xs:element name="Percentage" msprop:Generator_UserColumnName="Percentage" msprop:Generator_ColumnVarNameInTable="columnPercentage" msprop:Generator_ColumnPropNameInRow="Percentage" msprop:Generator_ColumnPropNameInTable="PercentageColumn" type="xs:float" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Fatura" msprop:Generator_UserTableName="Fatura" msprop:Generator_RowDeletedName="FaturaRowDeleted" msprop:Generator_RowChangedName="FaturaRowChanged" msprop:Generator_RowClassName="FaturaRow" msprop:Generator_RowChangingName="FaturaRowChanging" msprop:Generator_RowEvArgName="FaturaRowChangeEvent" msprop:Generator_RowEvHandlerName="FaturaRowChangeEventHandler" msprop:Generator_TableClassName="FaturaDataTable" msprop:Generator_TableVarName="tableFatura" msprop:Generator_RowDeletingName="FaturaRowDeleting" msprop:Generator_TablePropName="Fatura">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FaturaId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="FaturaId" msprop:Generator_ColumnVarNameInTable="columnFaturaId" msprop:Generator_ColumnPropNameInRow="FaturaId" msprop:Generator_ColumnPropNameInTable="FaturaIdColumn" type="xs:int" />
              <xs:element name="PurchaseOrderId" msprop:Generator_UserColumnName="PurchaseOrderId" msprop:Generator_ColumnVarNameInTable="columnPurchaseOrderId" msprop:Generator_ColumnPropNameInRow="PurchaseOrderId" msprop:Generator_ColumnPropNameInTable="PurchaseOrderIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Tarih" msprop:Generator_UserColumnName="Tarih" msprop:Generator_ColumnVarNameInTable="columnTarih" msprop:Generator_ColumnPropNameInRow="Tarih" msprop:Generator_ColumnPropNameInTable="TarihColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="BelgeTipiId" msprop:Generator_UserColumnName="BelgeTipiId" msprop:Generator_ColumnVarNameInTable="columnBelgeTipiId" msprop:Generator_ColumnPropNameInRow="BelgeTipiId" msprop:Generator_ColumnPropNameInTable="BelgeTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="FaturaTarihi" msprop:Generator_UserColumnName="FaturaTarihi" msprop:Generator_ColumnVarNameInTable="columnFaturaTarihi" msprop:Generator_ColumnPropNameInRow="FaturaTarihi" msprop:Generator_ColumnPropNameInTable="FaturaTarihiColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="FaturaNo" msprop:Generator_UserColumnName="FaturaNo" msprop:Generator_ColumnVarNameInTable="columnFaturaNo" msprop:Generator_ColumnPropNameInRow="FaturaNo" msprop:Generator_ColumnPropNameInTable="FaturaNoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IrsaliyeTarihi" msprop:Generator_UserColumnName="IrsaliyeTarihi" msprop:Generator_ColumnVarNameInTable="columnIrsaliyeTarihi" msprop:Generator_ColumnPropNameInRow="IrsaliyeTarihi" msprop:Generator_ColumnPropNameInTable="IrsaliyeTarihiColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="IrsaliyeNo" msprop:Generator_UserColumnName="IrsaliyeNo" msprop:Generator_ColumnVarNameInTable="columnIrsaliyeNo" msprop:Generator_ColumnPropNameInRow="IrsaliyeNo" msprop:Generator_ColumnPropNameInTable="IrsaliyeNoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VendorId" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="isClosed" msprop:Generator_UserColumnName="isClosed" msprop:Generator_ColumnVarNameInTable="columnisClosed" msprop:Generator_ColumnPropNameInRow="isClosed" msprop:Generator_ColumnPropNameInTable="isClosedColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="OwnerId" msprop:Generator_UserColumnName="OwnerId" msprop:Generator_ColumnVarNameInTable="columnOwnerId" msprop:Generator_ColumnPropNameInRow="OwnerId" msprop:Generator_ColumnPropNameInTable="OwnerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CurrencyCode" msprop:Generator_UserColumnName="CurrencyCode" msprop:Generator_ColumnVarNameInTable="columnCurrencyCode" msprop:Generator_ColumnPropNameInRow="CurrencyCode" msprop:Generator_ColumnPropNameInTable="CurrencyCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Freight" msprop:Generator_UserColumnName="Freight" msprop:Generator_ColumnVarNameInTable="columnFreight" msprop:Generator_ColumnPropNameInRow="Freight" msprop:Generator_ColumnPropNameInTable="FreightColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GrandTotal" msprop:Generator_UserColumnName="GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="AlisSekliId" msprop:Generator_UserColumnName="AlisSekliId" msprop:Generator_ColumnVarNameInTable="columnAlisSekliId" msprop:Generator_ColumnPropNameInRow="AlisSekliId" msprop:Generator_ColumnPropNameInTable="AlisSekliIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="PaymentTermId" msprop:Generator_UserColumnName="PaymentTermId" msprop:Generator_ColumnVarNameInTable="columnPaymentTermId" msprop:Generator_ColumnPropNameInRow="PaymentTermId" msprop:Generator_ColumnPropNameInTable="PaymentTermIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="DeliveryTermId" msprop:Generator_UserColumnName="DeliveryTermId" msprop:Generator_ColumnVarNameInTable="columnDeliveryTermId" msprop:Generator_ColumnPropNameInRow="DeliveryTermId" msprop:Generator_ColumnPropNameInTable="DeliveryTermIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ExpensePercentageId" msprop:Generator_UserColumnName="ExpensePercentageId" msprop:Generator_ColumnVarNameInTable="columnExpensePercentageId" msprop:Generator_ColumnPropNameInRow="ExpensePercentageId" msprop:Generator_ColumnPropNameInTable="ExpensePercentageIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="CarrierId" msprop:Generator_UserColumnName="CarrierId" msprop:Generator_ColumnVarNameInTable="columnCarrierId" msprop:Generator_ColumnPropNameInRow="CarrierId" msprop:Generator_ColumnPropNameInTable="CarrierIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="ReferansNo" msprop:Generator_UserColumnName="ReferansNo" msprop:Generator_ColumnVarNameInTable="columnReferansNo" msprop:Generator_ColumnPropNameInRow="ReferansNo" msprop:Generator_ColumnPropNameInTable="ReferansNoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FaturaDetay" msprop:Generator_UserTableName="FaturaDetay" msprop:Generator_RowDeletedName="FaturaDetayRowDeleted" msprop:Generator_RowChangedName="FaturaDetayRowChanged" msprop:Generator_RowClassName="FaturaDetayRow" msprop:Generator_RowChangingName="FaturaDetayRowChanging" msprop:Generator_RowEvArgName="FaturaDetayRowChangeEvent" msprop:Generator_RowEvHandlerName="FaturaDetayRowChangeEventHandler" msprop:Generator_TableClassName="FaturaDetayDataTable" msprop:Generator_TableVarName="tableFaturaDetay" msprop:Generator_RowDeletingName="FaturaDetayRowDeleting" msprop:Generator_TablePropName="FaturaDetay">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FaturaDetayId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="FaturaDetayId" msprop:Generator_ColumnVarNameInTable="columnFaturaDetayId" msprop:Generator_ColumnPropNameInRow="FaturaDetayId" msprop:Generator_ColumnPropNameInTable="FaturaDetayIdColumn" type="xs:int" />
              <xs:element name="FaturaId" msprop:Generator_UserColumnName="FaturaId" msprop:Generator_ColumnVarNameInTable="columnFaturaId" msprop:Generator_ColumnPropNameInRow="FaturaId" msprop:Generator_ColumnPropNameInTable="FaturaIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TotalQty" msprop:Generator_UserColumnName="TotalQty" msprop:Generator_ColumnVarNameInTable="columnTotalQty" msprop:Generator_ColumnPropNameInRow="TotalQty" msprop:Generator_ColumnPropNameInTable="TotalQtyColumn" type="xs:double" minOccurs="0" />
              <xs:element name="LineTotal" msprop:Generator_UserColumnName="LineTotal" msprop:Generator_ColumnVarNameInTable="columnLineTotal" msprop:Generator_ColumnPropNameInRow="LineTotal" msprop:Generator_ColumnPropNameInTable="LineTotalColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="SatinalmaOKi" msprop:Generator_UserColumnName="SatinalmaOKi" msprop:Generator_ColumnVarNameInTable="columnSatinalmaOKi" msprop:Generator_ColumnPropNameInRow="SatinalmaOKi" msprop:Generator_ColumnPropNameInTable="SatinalmaOKiColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="isClosed" msprop:Generator_UserColumnName="isClosed" msprop:Generator_ColumnVarNameInTable="columnisClosed" msprop:Generator_ColumnPropNameInRow="isClosed" msprop:Generator_ColumnPropNameInTable="isClosedColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FeatureAksesuar" msprop:Generator_UserTableName="FeatureAksesuar" msprop:Generator_RowDeletedName="FeatureAksesuarRowDeleted" msprop:Generator_RowChangedName="FeatureAksesuarRowChanged" msprop:Generator_RowClassName="FeatureAksesuarRow" msprop:Generator_RowChangingName="FeatureAksesuarRowChanging" msprop:Generator_RowEvArgName="FeatureAksesuarRowChangeEvent" msprop:Generator_RowEvHandlerName="FeatureAksesuarRowChangeEventHandler" msprop:Generator_TableClassName="FeatureAksesuarDataTable" msprop:Generator_TableVarName="tableFeatureAksesuar" msprop:Generator_RowDeletingName="FeatureAksesuarRowDeleting" msprop:Generator_TablePropName="FeatureAksesuar">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="Weight" msprop:Generator_UserColumnName="Weight" msprop:Generator_ColumnVarNameInTable="columnWeight" msprop:Generator_ColumnPropNameInRow="Weight" msprop:Generator_ColumnPropNameInTable="WeightColumn" type="xs:int" minOccurs="0" />
              <xs:element name="UnitMeasureId" msprop:Generator_UserColumnName="UnitMeasureId" msprop:Generator_ColumnVarNameInTable="columnUnitMeasureId" msprop:Generator_ColumnPropNameInRow="UnitMeasureId" msprop:Generator_ColumnPropNameInTable="UnitMeasureIdColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Width" msprop:Generator_UserColumnName="Width" msprop:Generator_ColumnVarNameInTable="columnWidth" msprop:Generator_ColumnPropNameInRow="Width" msprop:Generator_ColumnPropNameInTable="WidthColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Quality" msprop:Generator_UserColumnName="Quality" msprop:Generator_ColumnVarNameInTable="columnQuality" msprop:Generator_ColumnPropNameInRow="Quality" msprop:Generator_ColumnPropNameInTable="QualityColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Composition" msprop:Generator_UserColumnName="Composition" msprop:Generator_ColumnVarNameInTable="columnComposition" msprop:Generator_ColumnPropNameInRow="Composition" msprop:Generator_ColumnPropNameInTable="CompositionColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Thickness" msprop:Generator_UserColumnName="Thickness" msprop:Generator_ColumnVarNameInTable="columnThickness" msprop:Generator_ColumnPropNameInRow="Thickness" msprop:Generator_ColumnPropNameInTable="ThicknessColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Brand" msprop:Generator_UserColumnName="Brand" msprop:Generator_ColumnVarNameInTable="columnBrand" msprop:Generator_ColumnPropNameInRow="Brand" msprop:Generator_ColumnPropNameInTable="BrandColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Color" msprop:Generator_UserColumnName="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnPropNameInTable="ColorColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Olcu" msprop:Generator_UserColumnName="Olcu" msprop:Generator_ColumnVarNameInTable="columnOlcu" msprop:Generator_ColumnPropNameInRow="Olcu" msprop:Generator_ColumnPropNameInTable="OlcuColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Height" msprop:Generator_UserColumnName="Height" msprop:Generator_ColumnVarNameInTable="columnHeight" msprop:Generator_ColumnPropNameInRow="Height" msprop:Generator_ColumnPropNameInTable="HeightColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Article" msprop:Generator_UserColumnName="Article" msprop:Generator_ColumnVarNameInTable="columnArticle" msprop:Generator_ColumnPropNameInRow="Article" msprop:Generator_ColumnPropNameInTable="ArticleColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="KesimSekli" msprop:Generator_UserColumnName="KesimSekli" msprop:Generator_ColumnVarNameInTable="columnKesimSekli" msprop:Generator_ColumnPropNameInRow="KesimSekli" msprop:Generator_ColumnPropNameInTable="KesimSekliColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Cins" msprop:Generator_UserColumnName="Cins" msprop:Generator_ColumnVarNameInTable="columnCins" msprop:Generator_ColumnPropNameInRow="Cins" msprop:Generator_ColumnPropNameInTable="CinsColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FeatureKumas" msprop:Generator_UserTableName="FeatureKumas" msprop:Generator_RowDeletedName="FeatureKumasRowDeleted" msprop:Generator_RowChangedName="FeatureKumasRowChanged" msprop:Generator_RowClassName="FeatureKumasRow" msprop:Generator_RowChangingName="FeatureKumasRowChanging" msprop:Generator_RowEvArgName="FeatureKumasRowChangeEvent" msprop:Generator_RowEvHandlerName="FeatureKumasRowChangeEventHandler" msprop:Generator_TableClassName="FeatureKumasDataTable" msprop:Generator_TableVarName="tableFeatureKumas" msprop:Generator_RowDeletingName="FeatureKumasRowDeleting" msprop:Generator_TablePropName="FeatureKumas">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FaturaDetayId" msprop:Generator_UserColumnName="FaturaDetayId" msprop:Generator_ColumnVarNameInTable="columnFaturaDetayId" msprop:Generator_ColumnPropNameInRow="FaturaDetayId" msprop:Generator_ColumnPropNameInTable="FaturaDetayIdColumn" type="xs:int" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Weight" msprop:Generator_UserColumnName="Weight" msprop:Generator_ColumnVarNameInTable="columnWeight" msprop:Generator_ColumnPropNameInRow="Weight" msprop:Generator_ColumnPropNameInTable="WeightColumn" type="xs:int" minOccurs="0" />
              <xs:element name="UnitMeasureId" msprop:Generator_UserColumnName="UnitMeasureId" msprop:Generator_ColumnVarNameInTable="columnUnitMeasureId" msprop:Generator_ColumnPropNameInRow="UnitMeasureId" msprop:Generator_ColumnPropNameInTable="UnitMeasureIdColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Width" msprop:Generator_UserColumnName="Width" msprop:Generator_ColumnVarNameInTable="columnWidth" msprop:Generator_ColumnPropNameInRow="Width" msprop:Generator_ColumnPropNameInTable="WidthColumn" type="xs:int" minOccurs="0" />
              <xs:element name="IplikNo" msprop:Generator_UserColumnName="IplikNo" msprop:Generator_ColumnVarNameInTable="columnIplikNo" msprop:Generator_ColumnPropNameInRow="IplikNo" msprop:Generator_ColumnPropNameInTable="IplikNoColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Quality" msprop:Generator_UserColumnName="Quality" msprop:Generator_ColumnVarNameInTable="columnQuality" msprop:Generator_ColumnPropNameInRow="Quality" msprop:Generator_ColumnPropNameInTable="QualityColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Composition" msprop:Generator_UserColumnName="Composition" msprop:Generator_ColumnVarNameInTable="columnComposition" msprop:Generator_ColumnPropNameInRow="Composition" msprop:Generator_ColumnPropNameInTable="CompositionColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Construction" msprop:Generator_UserColumnName="Construction" msprop:Generator_ColumnVarNameInTable="columnConstruction" msprop:Generator_ColumnPropNameInRow="Construction" msprop:Generator_ColumnPropNameInTable="ConstructionColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnPropNameInTable="TypeColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="UreticiArtikeli" msprop:Generator_UserColumnName="UreticiArtikeli" msprop:Generator_ColumnVarNameInTable="columnUreticiArtikeli" msprop:Generator_ColumnPropNameInRow="UreticiArtikeli" msprop:Generator_ColumnPropNameInTable="UreticiArtikeliColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UreticiKodu" msprop:Generator_UserColumnName="UreticiKodu" msprop:Generator_ColumnVarNameInTable="columnUreticiKodu" msprop:Generator_ColumnPropNameInRow="UreticiKodu" msprop:Generator_ColumnPropNameInTable="UreticiKoduColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UreticiRenk" msprop:Generator_UserColumnName="UreticiRenk" msprop:Generator_ColumnVarNameInTable="columnUreticiRenk" msprop:Generator_ColumnPropNameInRow="UreticiRenk" msprop:Generator_ColumnPropNameInTable="UreticiRenkColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="KarbelArtikeli" msprop:Generator_UserColumnName="KarbelArtikeli" msprop:Generator_ColumnVarNameInTable="columnKarbelArtikeli" msprop:Generator_ColumnPropNameInRow="KarbelArtikeli" msprop:Generator_ColumnPropNameInTable="KarbelArtikeliColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="KarbelKodu" msprop:Generator_UserColumnName="KarbelKodu" msprop:Generator_ColumnVarNameInTable="columnKarbelKodu" msprop:Generator_ColumnPropNameInRow="KarbelKodu" msprop:Generator_ColumnPropNameInTable="KarbelKoduColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="KarbelRenk" msprop:Generator_UserColumnName="KarbelRenk" msprop:Generator_ColumnVarNameInTable="columnKarbelRenk" msprop:Generator_ColumnPropNameInRow="KarbelRenk" msprop:Generator_ColumnPropNameInTable="KarbelRenkColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Hareket" msprop:Generator_UserTableName="Hareket" msprop:Generator_RowDeletedName="HareketRowDeleted" msprop:Generator_RowChangedName="HareketRowChanged" msprop:Generator_RowClassName="HareketRow" msprop:Generator_RowChangingName="HareketRowChanging" msprop:Generator_RowEvArgName="HareketRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketRowChangeEventHandler" msprop:Generator_TableClassName="HareketDataTable" msprop:Generator_TableVarName="tableHareket" msprop:Generator_RowDeletingName="HareketRowDeleting" msprop:Generator_TablePropName="Hareket">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HareketId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="HareketId" msprop:Generator_ColumnVarNameInTable="columnHareketId" msprop:Generator_ColumnPropNameInRow="HareketId" msprop:Generator_ColumnPropNameInTable="HareketIdColumn" type="xs:int" />
              <xs:element name="HareketTipiId" msprop:Generator_UserColumnName="HareketTipiId" msprop:Generator_ColumnVarNameInTable="columnHareketTipiId" msprop:Generator_ColumnPropNameInRow="HareketTipiId" msprop:Generator_ColumnPropNameInTable="HareketTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="FaturaId" msprop:Generator_UserColumnName="FaturaId" msprop:Generator_ColumnVarNameInTable="columnFaturaId" msprop:Generator_ColumnPropNameInRow="FaturaId" msprop:Generator_ColumnPropNameInTable="FaturaIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="SalesOrderId" msprop:Generator_UserColumnName="SalesOrderId" msprop:Generator_ColumnVarNameInTable="columnSalesOrderId" msprop:Generator_ColumnPropNameInRow="SalesOrderId" msprop:Generator_ColumnPropNameInTable="SalesOrderIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TalepTarihi" msprop:Generator_UserColumnName="TalepTarihi" msprop:Generator_ColumnVarNameInTable="columnTalepTarihi" msprop:Generator_ColumnPropNameInRow="TalepTarihi" msprop:Generator_ColumnPropNameInTable="TalepTarihiColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="TalepEden" msprop:Generator_UserColumnName="TalepEden" msprop:Generator_ColumnVarNameInTable="columnTalepEden" msprop:Generator_ColumnPropNameInRow="TalepEden" msprop:Generator_ColumnPropNameInTable="TalepEdenColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="HareketDetay" msprop:Generator_UserTableName="HareketDetay" msprop:Generator_RowDeletedName="HareketDetayRowDeleted" msprop:Generator_RowChangedName="HareketDetayRowChanged" msprop:Generator_RowClassName="HareketDetayRow" msprop:Generator_RowChangingName="HareketDetayRowChanging" msprop:Generator_RowEvArgName="HareketDetayRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketDetayRowChangeEventHandler" msprop:Generator_TableClassName="HareketDetayDataTable" msprop:Generator_TableVarName="tableHareketDetay" msprop:Generator_RowDeletingName="HareketDetayRowDeleting" msprop:Generator_TablePropName="HareketDetay">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HareketDetayId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="HareketDetayId" msprop:Generator_ColumnVarNameInTable="columnHareketDetayId" msprop:Generator_ColumnPropNameInRow="HareketDetayId" msprop:Generator_ColumnPropNameInTable="HareketDetayIdColumn" type="xs:int" />
              <xs:element name="HareketId" msprop:Generator_UserColumnName="HareketId" msprop:Generator_ColumnVarNameInTable="columnHareketId" msprop:Generator_ColumnPropNameInRow="HareketId" msprop:Generator_ColumnPropNameInTable="HareketIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="FaturaDetayId" msprop:Generator_UserColumnName="FaturaDetayId" msprop:Generator_ColumnVarNameInTable="columnFaturaDetayId" msprop:Generator_ColumnPropNameInRow="FaturaDetayId" msprop:Generator_ColumnPropNameInTable="FaturaDetayIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DepoOKi" msprop:Generator_UserColumnName="DepoOKi" msprop:Generator_ColumnVarNameInTable="columnDepoOKi" msprop:Generator_ColumnPropNameInRow="DepoOKi" msprop:Generator_ColumnPropNameInTable="DepoOKiColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="HareketTarihi" msprop:Generator_UserColumnName="HareketTarihi" msprop:Generator_ColumnVarNameInTable="columnHareketTarihi" msprop:Generator_ColumnPropNameInRow="HareketTarihi" msprop:Generator_ColumnPropNameInTable="HareketTarihiColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DepoGorevlisi" msprop:Generator_UserColumnName="DepoGorevlisi" msprop:Generator_ColumnVarNameInTable="columnDepoGorevlisi" msprop:Generator_ColumnPropNameInRow="DepoGorevlisi" msprop:Generator_ColumnPropNameInTable="DepoGorevlisiColumn" type="xs:int" minOccurs="0" />
              <xs:element name="MusteriArtikeli" msprop:Generator_UserColumnName="MusteriArtikeli" msprop:Generator_ColumnVarNameInTable="columnMusteriArtikeli" msprop:Generator_ColumnPropNameInRow="MusteriArtikeli" msprop:Generator_ColumnPropNameInTable="MusteriArtikeliColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MusteriKodu" msprop:Generator_UserColumnName="MusteriKodu" msprop:Generator_ColumnVarNameInTable="columnMusteriKodu" msprop:Generator_ColumnPropNameInRow="MusteriKodu" msprop:Generator_ColumnPropNameInTable="MusteriKoduColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MusteriRenk" msprop:Generator_UserColumnName="MusteriRenk" msprop:Generator_ColumnVarNameInTable="columnMusteriRenk" msprop:Generator_ColumnPropNameInRow="MusteriRenk" msprop:Generator_ColumnPropNameInTable="MusteriRenkColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SanalFlag" msprop:Generator_UserColumnName="SanalFlag" msprop:Generator_ColumnVarNameInTable="columnSanalFlag" msprop:Generator_ColumnPropNameInRow="SanalFlag" msprop:Generator_ColumnPropNameInTable="SanalFlagColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="SanalTermin" msprop:Generator_UserColumnName="SanalTermin" msprop:Generator_ColumnVarNameInTable="columnSanalTermin" msprop:Generator_ColumnPropNameInRow="SanalTermin" msprop:Generator_ColumnPropNameInTable="SanalTerminColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="CancelDate" msprop:Generator_UserColumnName="CancelDate" msprop:Generator_ColumnVarNameInTable="columnCancelDate" msprop:Generator_ColumnPropNameInRow="CancelDate" msprop:Generator_ColumnPropNameInTable="CancelDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="HareketDetayTop" msprop:Generator_UserTableName="HareketDetayTop" msprop:Generator_RowDeletedName="HareketDetayTopRowDeleted" msprop:Generator_RowChangedName="HareketDetayTopRowChanged" msprop:Generator_RowClassName="HareketDetayTopRow" msprop:Generator_RowChangingName="HareketDetayTopRowChanging" msprop:Generator_RowEvArgName="HareketDetayTopRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketDetayTopRowChangeEventHandler" msprop:Generator_TableClassName="HareketDetayTopDataTable" msprop:Generator_TableVarName="tableHareketDetayTop" msprop:Generator_RowDeletingName="HareketDetayTopRowDeleting" msprop:Generator_TablePropName="HareketDetayTop">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HareketDetayId" msprop:Generator_UserColumnName="HareketDetayId" msprop:Generator_ColumnVarNameInTable="columnHareketDetayId" msprop:Generator_ColumnPropNameInRow="HareketDetayId" msprop:Generator_ColumnPropNameInTable="HareketDetayIdColumn" type="xs:int" />
              <xs:element name="TopId" msprop:Generator_UserColumnName="TopId" msprop:Generator_ColumnVarNameInTable="columnTopId" msprop:Generator_ColumnPropNameInRow="TopId" msprop:Generator_ColumnPropNameInTable="TopIdColumn" type="xs:int" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="MDepoId" msprop:Generator_UserColumnName="MDepoId" msprop:Generator_ColumnVarNameInTable="columnMDepoId" msprop:Generator_ColumnPropNameInRow="MDepoId" msprop:Generator_ColumnPropNameInTable="MDepoIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="LocationId" msprop:Generator_UserColumnName="LocationId" msprop:Generator_ColumnVarNameInTable="columnLocationId" msprop:Generator_ColumnPropNameInRow="LocationId" msprop:Generator_ColumnPropNameInTable="LocationIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ShelfId" msprop:Generator_UserColumnName="ShelfId" msprop:Generator_ColumnVarNameInTable="columnShelfId" msprop:Generator_ColumnPropNameInRow="ShelfId" msprop:Generator_ColumnPropNameInTable="ShelfIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="QtyTransferred" msprop:Generator_UserColumnName="QtyTransferred" msprop:Generator_ColumnVarNameInTable="columnQtyTransferred" msprop:Generator_ColumnPropNameInRow="QtyTransferred" msprop:Generator_ColumnPropNameInTable="QtyTransferredColumn" type="xs:double" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="HareketTipi" msprop:Generator_UserTableName="HareketTipi" msprop:Generator_RowDeletedName="HareketTipiRowDeleted" msprop:Generator_RowChangedName="HareketTipiRowChanged" msprop:Generator_RowClassName="HareketTipiRow" msprop:Generator_RowChangingName="HareketTipiRowChanging" msprop:Generator_RowEvArgName="HareketTipiRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketTipiRowChangeEventHandler" msprop:Generator_TableClassName="HareketTipiDataTable" msprop:Generator_TableVarName="tableHareketTipi" msprop:Generator_RowDeletingName="HareketTipiRowDeleting" msprop:Generator_TablePropName="HareketTipi">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HareketTipiId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="HareketTipiId" msprop:Generator_ColumnVarNameInTable="columnHareketTipiId" msprop:Generator_ColumnPropNameInRow="HareketTipiId" msprop:Generator_ColumnPropNameInTable="HareketTipiIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Inventory" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvArgName="InventoryRowChangeEvent" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_TablePropName="Inventory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="InventoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="InventoryId" msprop:Generator_ColumnVarNameInTable="columnInventoryId" msprop:Generator_ColumnPropNameInRow="InventoryId" msprop:Generator_ColumnPropNameInTable="InventoryIdColumn" type="xs:int" />
              <xs:element name="TopId" msprop:Generator_UserColumnName="TopId" msprop:Generator_ColumnVarNameInTable="columnTopId" msprop:Generator_ColumnPropNameInRow="TopId" msprop:Generator_ColumnPropNameInTable="TopIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="MDepoId" msprop:Generator_UserColumnName="MDepoId" msprop:Generator_ColumnVarNameInTable="columnMDepoId" msprop:Generator_ColumnPropNameInRow="MDepoId" msprop:Generator_ColumnPropNameInTable="MDepoIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="LocationId" msprop:Generator_UserColumnName="LocationId" msprop:Generator_ColumnVarNameInTable="columnLocationId" msprop:Generator_ColumnPropNameInRow="LocationId" msprop:Generator_ColumnPropNameInTable="LocationIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ShelfId" msprop:Generator_UserColumnName="ShelfId" msprop:Generator_ColumnVarNameInTable="columnShelfId" msprop:Generator_ColumnPropNameInRow="ShelfId" msprop:Generator_ColumnPropNameInTable="ShelfIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="OnShelfQty" msprop:Generator_UserColumnName="OnShelfQty" msprop:Generator_ColumnVarNameInTable="columnOnShelfQty" msprop:Generator_ColumnPropNameInRow="OnShelfQty" msprop:Generator_ColumnPropNameInTable="OnShelfQtyColumn" type="xs:double" minOccurs="0" />
              <xs:element name="BlockedQty" msprop:Generator_UserColumnName="BlockedQty" msprop:Generator_ColumnVarNameInTable="columnBlockedQty" msprop:Generator_ColumnPropNameInRow="BlockedQty" msprop:Generator_ColumnPropNameInTable="BlockedQtyColumn" type="xs:double" minOccurs="0" />
              <xs:element name="AvailableQty" msdata:ReadOnly="true" msprop:Generator_UserColumnName="AvailableQty" msprop:Generator_ColumnVarNameInTable="columnAvailableQty" msprop:Generator_ColumnPropNameInRow="AvailableQty" msprop:Generator_ColumnPropNameInTable="AvailableQtyColumn" type="xs:double" minOccurs="0" />
              <xs:element name="SanalFlag" msprop:Generator_UserColumnName="SanalFlag" msprop:Generator_ColumnVarNameInTable="columnSanalFlag" msprop:Generator_ColumnPropNameInRow="SanalFlag" msprop:Generator_ColumnPropNameInTable="SanalFlagColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="SanalTermin" msprop:Generator_UserColumnName="SanalTermin" msprop:Generator_ColumnVarNameInTable="columnSanalTermin" msprop:Generator_ColumnPropNameInRow="SanalTermin" msprop:Generator_ColumnPropNameInTable="SanalTerminColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Location" msprop:Generator_UserTableName="Location" msprop:Generator_RowDeletedName="LocationRowDeleted" msprop:Generator_RowChangedName="LocationRowChanged" msprop:Generator_RowClassName="LocationRow" msprop:Generator_RowChangingName="LocationRowChanging" msprop:Generator_RowEvArgName="LocationRowChangeEvent" msprop:Generator_RowEvHandlerName="LocationRowChangeEventHandler" msprop:Generator_TableClassName="LocationDataTable" msprop:Generator_TableVarName="tableLocation" msprop:Generator_RowDeletingName="LocationRowDeleting" msprop:Generator_TablePropName="Location">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LocationId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="LocationId" msprop:Generator_ColumnVarNameInTable="columnLocationId" msprop:Generator_ColumnPropNameInRow="LocationId" msprop:Generator_ColumnPropNameInTable="LocationIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnPropNameInTable="TypeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Login" msprop:Generator_UserTableName="Login" msprop:Generator_RowDeletedName="LoginRowDeleted" msprop:Generator_RowChangedName="LoginRowChanged" msprop:Generator_RowClassName="LoginRow" msprop:Generator_RowChangingName="LoginRowChanging" msprop:Generator_RowEvArgName="LoginRowChangeEvent" msprop:Generator_RowEvHandlerName="LoginRowChangeEventHandler" msprop:Generator_TableClassName="LoginDataTable" msprop:Generator_TableVarName="tableLogin" msprop:Generator_RowDeletingName="LoginRowDeleting" msprop:Generator_TablePropName="Login">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HostName" msprop:Generator_UserColumnName="HostName" msprop:Generator_ColumnVarNameInTable="columnHostName" msprop:Generator_ColumnPropNameInRow="HostName" msprop:Generator_ColumnPropNameInTable="HostNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Date" msprop:Generator_UserColumnName="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LoginHistory" msprop:Generator_UserTableName="LoginHistory" msprop:Generator_RowDeletedName="LoginHistoryRowDeleted" msprop:Generator_RowChangedName="LoginHistoryRowChanged" msprop:Generator_RowClassName="LoginHistoryRow" msprop:Generator_RowChangingName="LoginHistoryRowChanging" msprop:Generator_RowEvArgName="LoginHistoryRowChangeEvent" msprop:Generator_RowEvHandlerName="LoginHistoryRowChangeEventHandler" msprop:Generator_TableClassName="LoginHistoryDataTable" msprop:Generator_TableVarName="tableLoginHistory" msprop:Generator_RowDeletingName="LoginHistoryRowDeleting" msprop:Generator_TablePropName="LoginHistory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LoginHistoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="LoginHistoryId" msprop:Generator_ColumnVarNameInTable="columnLoginHistoryId" msprop:Generator_ColumnPropNameInRow="LoginHistoryId" msprop:Generator_ColumnPropNameInTable="LoginHistoryIdColumn" type="xs:int" />
              <xs:element name="Hostname" msprop:Generator_UserColumnName="Hostname" msprop:Generator_ColumnVarNameInTable="columnHostname" msprop:Generator_ColumnPropNameInRow="Hostname" msprop:Generator_ColumnPropNameInTable="HostnameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="FromDate" msprop:Generator_UserColumnName="FromDate" msprop:Generator_ColumnVarNameInTable="columnFromDate" msprop:Generator_ColumnPropNameInRow="FromDate" msprop:Generator_ColumnPropNameInTable="FromDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ToDate" msprop:Generator_UserColumnName="ToDate" msprop:Generator_ColumnVarNameInTable="columnToDate" msprop:Generator_ColumnPropNameInRow="ToDate" msprop:Generator_ColumnPropNameInTable="ToDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DurationInMins" msprop:Generator_UserColumnName="DurationInMins" msprop:Generator_ColumnVarNameInTable="columnDurationInMins" msprop:Generator_ColumnPropNameInRow="DurationInMins" msprop:Generator_ColumnPropNameInTable="DurationInMinsColumn" type="xs:short" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LookupTables" msprop:Generator_UserTableName="LookupTables" msprop:Generator_RowDeletedName="LookupTablesRowDeleted" msprop:Generator_RowChangedName="LookupTablesRowChanged" msprop:Generator_RowClassName="LookupTablesRow" msprop:Generator_RowChangingName="LookupTablesRowChanging" msprop:Generator_RowEvArgName="LookupTablesRowChangeEvent" msprop:Generator_RowEvHandlerName="LookupTablesRowChangeEventHandler" msprop:Generator_TableClassName="LookupTablesDataTable" msprop:Generator_TableVarName="tableLookupTables" msprop:Generator_RowDeletingName="LookupTablesRowDeleting" msprop:Generator_TablePropName="LookupTables">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TableName" msprop:Generator_UserColumnName="TableName" msprop:Generator_ColumnVarNameInTable="columnTableName" msprop:Generator_ColumnPropNameInRow="TableName" msprop:Generator_ColumnPropNameInTable="TableNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Table2Name" msprop:Generator_UserColumnName="Table2Name" msprop:Generator_ColumnVarNameInTable="columnTable2Name" msprop:Generator_ColumnPropNameInRow="Table2Name" msprop:Generator_ColumnPropNameInTable="Table2NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Module" msprop:Generator_UserTableName="Module" msprop:Generator_RowDeletedName="ModuleRowDeleted" msprop:Generator_RowChangedName="ModuleRowChanged" msprop:Generator_RowClassName="ModuleRow" msprop:Generator_RowChangingName="ModuleRowChanging" msprop:Generator_RowEvArgName="ModuleRowChangeEvent" msprop:Generator_RowEvHandlerName="ModuleRowChangeEventHandler" msprop:Generator_TableClassName="ModuleDataTable" msprop:Generator_TableVarName="tableModule" msprop:Generator_RowDeletingName="ModuleRowDeleting" msprop:Generator_TablePropName="Module">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ModuleId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ModuleId" msprop:Generator_ColumnVarNameInTable="columnModuleId" msprop:Generator_ColumnPropNameInRow="ModuleId" msprop:Generator_ColumnPropNameInTable="ModuleIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Origin" msprop:Generator_UserTableName="Origin" msprop:Generator_RowDeletedName="OriginRowDeleted" msprop:Generator_RowChangedName="OriginRowChanged" msprop:Generator_RowClassName="OriginRow" msprop:Generator_RowChangingName="OriginRowChanging" msprop:Generator_RowEvArgName="OriginRowChangeEvent" msprop:Generator_RowEvHandlerName="OriginRowChangeEventHandler" msprop:Generator_TableClassName="OriginDataTable" msprop:Generator_TableVarName="tableOrigin" msprop:Generator_RowDeletingName="OriginRowDeleting" msprop:Generator_TablePropName="Origin">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="OriginId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="OriginId" msprop:Generator_ColumnVarNameInTable="columnOriginId" msprop:Generator_ColumnPropNameInRow="OriginId" msprop:Generator_ColumnPropNameInTable="OriginIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PaymentTerm" msprop:Generator_UserTableName="PaymentTerm" msprop:Generator_RowDeletedName="PaymentTermRowDeleted" msprop:Generator_RowChangedName="PaymentTermRowChanged" msprop:Generator_RowClassName="PaymentTermRow" msprop:Generator_RowChangingName="PaymentTermRowChanging" msprop:Generator_RowEvArgName="PaymentTermRowChangeEvent" msprop:Generator_RowEvHandlerName="PaymentTermRowChangeEventHandler" msprop:Generator_TableClassName="PaymentTermDataTable" msprop:Generator_TableVarName="tablePaymentTerm" msprop:Generator_RowDeletingName="PaymentTermRowDeleting" msprop:Generator_TablePropName="PaymentTerm">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PaymentTermId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="PaymentTermId" msprop:Generator_ColumnVarNameInTable="columnPaymentTermId" msprop:Generator_ColumnPropNameInRow="PaymentTermId" msprop:Generator_ColumnPropNameInTable="PaymentTermIdColumn" type="xs:unsignedByte" />
              <xs:element name="PaymentMethod" msprop:Generator_UserColumnName="PaymentMethod" msprop:Generator_ColumnVarNameInTable="columnPaymentMethod" msprop:Generator_ColumnPropNameInRow="PaymentMethod" msprop:Generator_ColumnPropNameInTable="PaymentMethodColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PaymentTerm" msprop:Generator_UserColumnName="PaymentTerm" msprop:Generator_ColumnVarNameInTable="columnPaymentTerm" msprop:Generator_ColumnPropNameInRow="PaymentTerm" msprop:Generator_ColumnPropNameInTable="PaymentTermColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Product" msprop:Generator_UserTableName="Product" msprop:Generator_RowDeletedName="ProductRowDeleted" msprop:Generator_RowChangedName="ProductRowChanged" msprop:Generator_RowClassName="ProductRow" msprop:Generator_RowChangingName="ProductRowChanging" msprop:Generator_RowEvArgName="ProductRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductRowChangeEventHandler" msprop:Generator_TableClassName="ProductDataTable" msprop:Generator_TableVarName="tableProduct" msprop:Generator_RowDeletingName="ProductRowDeleting" msprop:Generator_TablePropName="Product">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="StokAdi" msprop:Generator_UserColumnName="StokAdi" msprop:Generator_ColumnVarNameInTable="columnStokAdi" msprop:Generator_ColumnPropNameInRow="StokAdi" msprop:Generator_ColumnPropNameInTable="StokAdiColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokKoduTipiId" msprop:Generator_UserColumnName="StokKoduTipiId" msprop:Generator_ColumnVarNameInTable="columnStokKoduTipiId" msprop:Generator_ColumnPropNameInRow="StokKoduTipiId" msprop:Generator_ColumnPropNameInTable="StokKoduTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="StokArtikeli" msprop:Generator_UserColumnName="StokArtikeli" msprop:Generator_ColumnVarNameInTable="columnStokArtikeli" msprop:Generator_ColumnPropNameInRow="StokArtikeli" msprop:Generator_ColumnPropNameInTable="StokArtikeliColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokKodu" msprop:Generator_UserColumnName="StokKodu" msprop:Generator_ColumnVarNameInTable="columnStokKodu" msprop:Generator_ColumnPropNameInRow="StokKodu" msprop:Generator_ColumnPropNameInTable="StokKoduColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokRenk" msprop:Generator_UserColumnName="StokRenk" msprop:Generator_ColumnVarNameInTable="columnStokRenk" msprop:Generator_ColumnPropNameInRow="StokRenk" msprop:Generator_ColumnPropNameInTable="StokRenkColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="GenelStokKalemi" msprop:Generator_UserColumnName="GenelStokKalemi" msprop:Generator_ColumnVarNameInTable="columnGenelStokKalemi" msprop:Generator_ColumnPropNameInRow="GenelStokKalemi" msprop:Generator_ColumnPropNameInTable="GenelStokKalemiColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="FAO" msprop:Generator_UserColumnName="FAO" msprop:Generator_ColumnVarNameInTable="columnFAO" msprop:Generator_ColumnPropNameInRow="FAO" msprop:Generator_ColumnPropNameInTable="FAOColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MakeFlag" msprop:Generator_UserColumnName="MakeFlag" msprop:Generator_ColumnVarNameInTable="columnMakeFlag" msprop:Generator_ColumnPropNameInRow="MakeFlag" msprop:Generator_ColumnPropNameInTable="MakeFlagColumn" type="xs:boolean" />
              <xs:element name="FinishedGoodsFlag" msprop:Generator_UserColumnName="FinishedGoodsFlag" msprop:Generator_ColumnVarNameInTable="columnFinishedGoodsFlag" msprop:Generator_ColumnPropNameInRow="FinishedGoodsFlag" msprop:Generator_ColumnPropNameInTable="FinishedGoodsFlagColumn" type="xs:boolean" />
              <xs:element name="SafetyStockLevel" msprop:Generator_UserColumnName="SafetyStockLevel" msprop:Generator_ColumnVarNameInTable="columnSafetyStockLevel" msprop:Generator_ColumnPropNameInRow="SafetyStockLevel" msprop:Generator_ColumnPropNameInTable="SafetyStockLevelColumn" type="xs:short" />
              <xs:element name="ReorderPoint" msprop:Generator_UserColumnName="ReorderPoint" msprop:Generator_ColumnVarNameInTable="columnReorderPoint" msprop:Generator_ColumnPropNameInRow="ReorderPoint" msprop:Generator_ColumnPropNameInTable="ReorderPointColumn" type="xs:short" />
              <xs:element name="StandardCost" msprop:Generator_UserColumnName="StandardCost" msprop:Generator_ColumnVarNameInTable="columnStandardCost" msprop:Generator_ColumnPropNameInRow="StandardCost" msprop:Generator_ColumnPropNameInTable="StandardCostColumn" type="xs:decimal" />
              <xs:element name="ListPrice" msprop:Generator_UserColumnName="ListPrice" msprop:Generator_ColumnVarNameInTable="columnListPrice" msprop:Generator_ColumnPropNameInRow="ListPrice" msprop:Generator_ColumnPropNameInTable="ListPriceColumn" type="xs:decimal" />
              <xs:element name="DaysToManufacture" msprop:Generator_UserColumnName="DaysToManufacture" msprop:Generator_ColumnVarNameInTable="columnDaysToManufacture" msprop:Generator_ColumnPropNameInRow="DaysToManufacture" msprop:Generator_ColumnPropNameInTable="DaysToManufactureColumn" type="xs:int" />
              <xs:element name="ProductSubcategoryId" msprop:Generator_UserColumnName="ProductSubcategoryId" msprop:Generator_ColumnVarNameInTable="columnProductSubcategoryId" msprop:Generator_ColumnPropNameInRow="ProductSubcategoryId" msprop:Generator_ColumnPropNameInTable="ProductSubcategoryIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ProductModelId" msprop:Generator_UserColumnName="ProductModelId" msprop:Generator_ColumnVarNameInTable="columnProductModelId" msprop:Generator_ColumnPropNameInRow="ProductModelId" msprop:Generator_ColumnPropNameInTable="ProductModelIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="DiscontinuedDate" msprop:Generator_UserColumnName="DiscontinuedDate" msprop:Generator_ColumnVarNameInTable="columnDiscontinuedDate" msprop:Generator_ColumnPropNameInRow="DiscontinuedDate" msprop:Generator_ColumnPropNameInTable="DiscontinuedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductCategory" msprop:Generator_UserTableName="ProductCategory" msprop:Generator_RowDeletedName="ProductCategoryRowDeleted" msprop:Generator_RowChangedName="ProductCategoryRowChanged" msprop:Generator_RowClassName="ProductCategoryRow" msprop:Generator_RowChangingName="ProductCategoryRowChanging" msprop:Generator_RowEvArgName="ProductCategoryRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductCategoryRowChangeEventHandler" msprop:Generator_TableClassName="ProductCategoryDataTable" msprop:Generator_TableVarName="tableProductCategory" msprop:Generator_RowDeletingName="ProductCategoryRowDeleting" msprop:Generator_TablePropName="ProductCategory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductCategoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductCategoryId" msprop:Generator_ColumnVarNameInTable="columnProductCategoryId" msprop:Generator_ColumnPropNameInRow="ProductCategoryId" msprop:Generator_ColumnPropNameInTable="ProductCategoryIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductCostHistory" msprop:Generator_UserTableName="ProductCostHistory" msprop:Generator_RowDeletedName="ProductCostHistoryRowDeleted" msprop:Generator_RowChangedName="ProductCostHistoryRowChanged" msprop:Generator_RowClassName="ProductCostHistoryRow" msprop:Generator_RowChangingName="ProductCostHistoryRowChanging" msprop:Generator_RowEvArgName="ProductCostHistoryRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductCostHistoryRowChangeEventHandler" msprop:Generator_TableClassName="ProductCostHistoryDataTable" msprop:Generator_TableVarName="tableProductCostHistory" msprop:Generator_RowDeletingName="ProductCostHistoryRowDeleting" msprop:Generator_TablePropName="ProductCostHistory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="StandardCost" msprop:Generator_UserColumnName="StandardCost" msprop:Generator_ColumnVarNameInTable="columnStandardCost" msprop:Generator_ColumnPropNameInRow="StandardCost" msprop:Generator_ColumnPropNameInTable="StandardCostColumn" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductDescription" msprop:Generator_UserTableName="ProductDescription" msprop:Generator_RowDeletedName="ProductDescriptionRowDeleted" msprop:Generator_RowChangedName="ProductDescriptionRowChanged" msprop:Generator_RowClassName="ProductDescriptionRow" msprop:Generator_RowChangingName="ProductDescriptionRowChanging" msprop:Generator_RowEvArgName="ProductDescriptionRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductDescriptionRowChangeEventHandler" msprop:Generator_TableClassName="ProductDescriptionDataTable" msprop:Generator_TableVarName="tableProductDescription" msprop:Generator_RowDeletingName="ProductDescriptionRowDeleting" msprop:Generator_TablePropName="ProductDescription">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductDescriptionId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductDescriptionId" msprop:Generator_ColumnVarNameInTable="columnProductDescriptionId" msprop:Generator_ColumnPropNameInRow="ProductDescriptionId" msprop:Generator_ColumnPropNameInTable="ProductDescriptionIdColumn" type="xs:int" />
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductDocument" msprop:Generator_UserTableName="ProductDocument" msprop:Generator_RowDeletedName="ProductDocumentRowDeleted" msprop:Generator_RowChangedName="ProductDocumentRowChanged" msprop:Generator_RowClassName="ProductDocumentRow" msprop:Generator_RowChangingName="ProductDocumentRowChanging" msprop:Generator_RowEvArgName="ProductDocumentRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductDocumentRowChangeEventHandler" msprop:Generator_TableClassName="ProductDocumentDataTable" msprop:Generator_TableVarName="tableProductDocument" msprop:Generator_RowDeletingName="ProductDocumentRowDeleting" msprop:Generator_TablePropName="ProductDocument">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="DocumentId" msprop:Generator_UserColumnName="DocumentId" msprop:Generator_ColumnVarNameInTable="columnDocumentId" msprop:Generator_ColumnPropNameInRow="DocumentId" msprop:Generator_ColumnPropNameInTable="DocumentIdColumn" type="xs:int" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductListPriceHistory" msprop:Generator_UserTableName="ProductListPriceHistory" msprop:Generator_RowDeletedName="ProductListPriceHistoryRowDeleted" msprop:Generator_RowChangedName="ProductListPriceHistoryRowChanged" msprop:Generator_RowClassName="ProductListPriceHistoryRow" msprop:Generator_RowChangingName="ProductListPriceHistoryRowChanging" msprop:Generator_RowEvArgName="ProductListPriceHistoryRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductListPriceHistoryRowChangeEventHandler" msprop:Generator_TableClassName="ProductListPriceHistoryDataTable" msprop:Generator_TableVarName="tableProductListPriceHistory" msprop:Generator_RowDeletingName="ProductListPriceHistoryRowDeleting" msprop:Generator_TablePropName="ProductListPriceHistory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ListPrice" msprop:Generator_UserColumnName="ListPrice" msprop:Generator_ColumnVarNameInTable="columnListPrice" msprop:Generator_ColumnPropNameInRow="ListPrice" msprop:Generator_ColumnPropNameInTable="ListPriceColumn" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductModel" msprop:Generator_UserTableName="ProductModel" msprop:Generator_RowDeletedName="ProductModelRowDeleted" msprop:Generator_RowChangedName="ProductModelRowChanged" msprop:Generator_RowClassName="ProductModelRow" msprop:Generator_RowChangingName="ProductModelRowChanging" msprop:Generator_RowEvArgName="ProductModelRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductModelRowChangeEventHandler" msprop:Generator_TableClassName="ProductModelDataTable" msprop:Generator_TableVarName="tableProductModel" msprop:Generator_RowDeletingName="ProductModelRowDeleting" msprop:Generator_TablePropName="ProductModel">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductModelId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductModelId" msprop:Generator_ColumnVarNameInTable="columnProductModelId" msprop:Generator_ColumnPropNameInRow="ProductModelId" msprop:Generator_ColumnPropNameInTable="ProductModelIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CatalogDescription" msprop:Generator_UserColumnName="CatalogDescription" msprop:Generator_ColumnVarNameInTable="columnCatalogDescription" msprop:Generator_ColumnPropNameInRow="CatalogDescription" msprop:Generator_ColumnPropNameInTable="CatalogDescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Instructions" msprop:Generator_UserColumnName="Instructions" msprop:Generator_ColumnVarNameInTable="columnInstructions" msprop:Generator_ColumnPropNameInRow="Instructions" msprop:Generator_ColumnPropNameInTable="InstructionsColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductModelProductDescriptionCulture" msprop:Generator_UserTableName="ProductModelProductDescriptionCulture" msprop:Generator_RowDeletedName="ProductModelProductDescriptionCultureRowDeleted" msprop:Generator_RowChangedName="ProductModelProductDescriptionCultureRowChanged" msprop:Generator_RowClassName="ProductModelProductDescriptionCultureRow" msprop:Generator_RowChangingName="ProductModelProductDescriptionCultureRowChanging" msprop:Generator_RowEvArgName="ProductModelProductDescriptionCultureRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductModelProductDescriptionCultureRowChangeEventHandler" msprop:Generator_TableClassName="ProductModelProductDescriptionCultureDataTable" msprop:Generator_TableVarName="tableProductModelProductDescriptionCulture" msprop:Generator_RowDeletingName="ProductModelProductDescriptionCultureRowDeleting" msprop:Generator_TablePropName="ProductModelProductDescriptionCulture">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductModelId" msprop:Generator_UserColumnName="ProductModelId" msprop:Generator_ColumnVarNameInTable="columnProductModelId" msprop:Generator_ColumnPropNameInRow="ProductModelId" msprop:Generator_ColumnPropNameInTable="ProductModelIdColumn" type="xs:int" />
              <xs:element name="ProductDescriptionId" msprop:Generator_UserColumnName="ProductDescriptionId" msprop:Generator_ColumnVarNameInTable="columnProductDescriptionId" msprop:Generator_ColumnPropNameInRow="ProductDescriptionId" msprop:Generator_ColumnPropNameInTable="ProductDescriptionIdColumn" type="xs:int" />
              <xs:element name="CultureId" msprop:Generator_UserColumnName="CultureId" msprop:Generator_ColumnVarNameInTable="columnCultureId" msprop:Generator_ColumnPropNameInRow="CultureId" msprop:Generator_ColumnPropNameInTable="CultureIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="6" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductPhoto" msprop:Generator_UserTableName="ProductPhoto" msprop:Generator_RowDeletedName="ProductPhotoRowDeleted" msprop:Generator_RowChangedName="ProductPhotoRowChanged" msprop:Generator_RowClassName="ProductPhotoRow" msprop:Generator_RowChangingName="ProductPhotoRowChanging" msprop:Generator_RowEvArgName="ProductPhotoRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductPhotoRowChangeEventHandler" msprop:Generator_TableClassName="ProductPhotoDataTable" msprop:Generator_TableVarName="tableProductPhoto" msprop:Generator_RowDeletingName="ProductPhotoRowDeleting" msprop:Generator_TablePropName="ProductPhoto">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="Photo" msprop:Generator_UserColumnName="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductSubcategory" msprop:Generator_UserTableName="ProductSubcategory" msprop:Generator_RowDeletedName="ProductSubcategoryRowDeleted" msprop:Generator_RowChangedName="ProductSubcategoryRowChanged" msprop:Generator_RowClassName="ProductSubcategoryRow" msprop:Generator_RowChangingName="ProductSubcategoryRowChanging" msprop:Generator_RowEvArgName="ProductSubcategoryRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductSubcategoryRowChangeEventHandler" msprop:Generator_TableClassName="ProductSubcategoryDataTable" msprop:Generator_TableVarName="tableProductSubcategory" msprop:Generator_RowDeletingName="ProductSubcategoryRowDeleting" msprop:Generator_TablePropName="ProductSubcategory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductSubcategoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductSubcategoryId" msprop:Generator_ColumnVarNameInTable="columnProductSubcategoryId" msprop:Generator_ColumnPropNameInRow="ProductSubcategoryId" msprop:Generator_ColumnPropNameInTable="ProductSubcategoryIdColumn" type="xs:int" />
              <xs:element name="ProductCategoryId" msprop:Generator_UserColumnName="ProductCategoryId" msprop:Generator_ColumnVarNameInTable="columnProductCategoryId" msprop:Generator_ColumnPropNameInRow="ProductCategoryId" msprop:Generator_ColumnPropNameInTable="ProductCategoryIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="xWeight" msprop:Generator_UserColumnName="xWeight" msprop:Generator_ColumnVarNameInTable="columnxWeight" msprop:Generator_ColumnPropNameInRow="xWeight" msprop:Generator_ColumnPropNameInTable="xWeightColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xUnitMeasureCode" msprop:Generator_UserColumnName="xUnitMeasureCode" msprop:Generator_ColumnVarNameInTable="columnxUnitMeasureCode" msprop:Generator_ColumnPropNameInRow="xUnitMeasureCode" msprop:Generator_ColumnPropNameInTable="xUnitMeasureCodeColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xWidth" msprop:Generator_UserColumnName="xWidth" msprop:Generator_ColumnVarNameInTable="columnxWidth" msprop:Generator_ColumnPropNameInRow="xWidth" msprop:Generator_ColumnPropNameInTable="xWidthColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xQuality" msprop:Generator_UserColumnName="xQuality" msprop:Generator_ColumnVarNameInTable="columnxQuality" msprop:Generator_ColumnPropNameInRow="xQuality" msprop:Generator_ColumnPropNameInTable="xQualityColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xComposition" msprop:Generator_UserColumnName="xComposition" msprop:Generator_ColumnVarNameInTable="columnxComposition" msprop:Generator_ColumnPropNameInRow="xComposition" msprop:Generator_ColumnPropNameInTable="xCompositionColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xThickness" msprop:Generator_UserColumnName="xThickness" msprop:Generator_ColumnVarNameInTable="columnxThickness" msprop:Generator_ColumnPropNameInRow="xThickness" msprop:Generator_ColumnPropNameInTable="xThicknessColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xBrand" msprop:Generator_UserColumnName="xBrand" msprop:Generator_ColumnVarNameInTable="columnxBrand" msprop:Generator_ColumnPropNameInRow="xBrand" msprop:Generator_ColumnPropNameInTable="xBrandColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xColor" msprop:Generator_UserColumnName="xColor" msprop:Generator_ColumnVarNameInTable="columnxColor" msprop:Generator_ColumnPropNameInRow="xColor" msprop:Generator_ColumnPropNameInTable="xColorColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xOlcu" msprop:Generator_UserColumnName="xOlcu" msprop:Generator_ColumnVarNameInTable="columnxOlcu" msprop:Generator_ColumnPropNameInRow="xOlcu" msprop:Generator_ColumnPropNameInTable="xOlcuColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xHeight" msprop:Generator_UserColumnName="xHeight" msprop:Generator_ColumnVarNameInTable="columnxHeight" msprop:Generator_ColumnPropNameInRow="xHeight" msprop:Generator_ColumnPropNameInTable="xHeightColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xArticle" msprop:Generator_UserColumnName="xArticle" msprop:Generator_ColumnVarNameInTable="columnxArticle" msprop:Generator_ColumnPropNameInRow="xArticle" msprop:Generator_ColumnPropNameInTable="xArticleColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xKesimSekli" msprop:Generator_UserColumnName="xKesimSekli" msprop:Generator_ColumnVarNameInTable="columnxKesimSekli" msprop:Generator_ColumnPropNameInRow="xKesimSekli" msprop:Generator_ColumnPropNameInTable="xKesimSekliColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xCins" msprop:Generator_UserColumnName="xCins" msprop:Generator_ColumnVarNameInTable="columnxCins" msprop:Generator_ColumnPropNameInRow="xCins" msprop:Generator_ColumnPropNameInTable="xCinsColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductVendor" msprop:Generator_UserTableName="ProductVendor" msprop:Generator_RowDeletedName="ProductVendorRowDeleted" msprop:Generator_RowChangedName="ProductVendorRowChanged" msprop:Generator_RowClassName="ProductVendorRow" msprop:Generator_RowChangingName="ProductVendorRowChanging" msprop:Generator_RowEvArgName="ProductVendorRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductVendorRowChangeEventHandler" msprop:Generator_TableClassName="ProductVendorDataTable" msprop:Generator_TableVarName="tableProductVendor" msprop:Generator_RowDeletingName="ProductVendorRowDeleting" msprop:Generator_TablePropName="ProductVendor">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="VendorId" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" />
              <xs:element name="AverageLeadTime" msprop:Generator_UserColumnName="AverageLeadTime" msprop:Generator_ColumnVarNameInTable="columnAverageLeadTime" msprop:Generator_ColumnPropNameInRow="AverageLeadTime" msprop:Generator_ColumnPropNameInTable="AverageLeadTimeColumn" type="xs:int" />
              <xs:element name="StandardPrice" msprop:Generator_UserColumnName="StandardPrice" msprop:Generator_ColumnVarNameInTable="columnStandardPrice" msprop:Generator_ColumnPropNameInRow="StandardPrice" msprop:Generator_ColumnPropNameInTable="StandardPriceColumn" type="xs:decimal" />
              <xs:element name="LastReceiptCost" msprop:Generator_UserColumnName="LastReceiptCost" msprop:Generator_ColumnVarNameInTable="columnLastReceiptCost" msprop:Generator_ColumnPropNameInRow="LastReceiptCost" msprop:Generator_ColumnPropNameInTable="LastReceiptCostColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="LastReceiptDate" msprop:Generator_UserColumnName="LastReceiptDate" msprop:Generator_ColumnVarNameInTable="columnLastReceiptDate" msprop:Generator_ColumnPropNameInRow="LastReceiptDate" msprop:Generator_ColumnPropNameInTable="LastReceiptDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MinOrderQty" msprop:Generator_UserColumnName="MinOrderQty" msprop:Generator_ColumnVarNameInTable="columnMinOrderQty" msprop:Generator_ColumnPropNameInRow="MinOrderQty" msprop:Generator_ColumnPropNameInTable="MinOrderQtyColumn" type="xs:int" />
              <xs:element name="MaxOrderQty" msprop:Generator_UserColumnName="MaxOrderQty" msprop:Generator_ColumnVarNameInTable="columnMaxOrderQty" msprop:Generator_ColumnPropNameInRow="MaxOrderQty" msprop:Generator_ColumnPropNameInTable="MaxOrderQtyColumn" type="xs:int" />
              <xs:element name="OnOrderQty" msprop:Generator_UserColumnName="OnOrderQty" msprop:Generator_ColumnVarNameInTable="columnOnOrderQty" msprop:Generator_ColumnPropNameInRow="OnOrderQty" msprop:Generator_ColumnPropNameInTable="OnOrderQtyColumn" type="xs:int" minOccurs="0" />
              <xs:element name="UnitMeasureId" msprop:Generator_UserColumnName="UnitMeasureId" msprop:Generator_ColumnVarNameInTable="columnUnitMeasureId" msprop:Generator_ColumnPropNameInRow="UnitMeasureId" msprop:Generator_ColumnPropNameInTable="UnitMeasureIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PurchaseOrderDetail" msprop:Generator_UserTableName="PurchaseOrderDetail" msprop:Generator_RowDeletedName="PurchaseOrderDetailRowDeleted" msprop:Generator_RowChangedName="PurchaseOrderDetailRowChanged" msprop:Generator_RowClassName="PurchaseOrderDetailRow" msprop:Generator_RowChangingName="PurchaseOrderDetailRowChanging" msprop:Generator_RowEvArgName="PurchaseOrderDetailRowChangeEvent" msprop:Generator_RowEvHandlerName="PurchaseOrderDetailRowChangeEventHandler" msprop:Generator_TableClassName="PurchaseOrderDetailDataTable" msprop:Generator_TableVarName="tablePurchaseOrderDetail" msprop:Generator_RowDeletingName="PurchaseOrderDetailRowDeleting" msprop:Generator_TablePropName="PurchaseOrderDetail">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PurchaseOrderId" msprop:Generator_UserColumnName="PurchaseOrderId" msprop:Generator_ColumnVarNameInTable="columnPurchaseOrderId" msprop:Generator_ColumnPropNameInRow="PurchaseOrderId" msprop:Generator_ColumnPropNameInTable="PurchaseOrderIdColumn" type="xs:int" />
              <xs:element name="PurchaseOrderDetailId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PurchaseOrderDetailId" msprop:Generator_ColumnVarNameInTable="columnPurchaseOrderDetailId" msprop:Generator_ColumnPropNameInRow="PurchaseOrderDetailId" msprop:Generator_ColumnPropNameInTable="PurchaseOrderDetailIdColumn" type="xs:int" />
              <xs:element name="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" type="xs:dateTime" />
              <xs:element name="OrderQty" msprop:Generator_UserColumnName="OrderQty" msprop:Generator_ColumnVarNameInTable="columnOrderQty" msprop:Generator_ColumnPropNameInRow="OrderQty" msprop:Generator_ColumnPropNameInTable="OrderQtyColumn" type="xs:short" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="UnitPrice" msprop:Generator_UserColumnName="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" type="xs:decimal" />
              <xs:element name="LineTotal" msdata:ReadOnly="true" msprop:Generator_UserColumnName="LineTotal" msprop:Generator_ColumnVarNameInTable="columnLineTotal" msprop:Generator_ColumnPropNameInRow="LineTotal" msprop:Generator_ColumnPropNameInTable="LineTotalColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ReceivedQty" msprop:Generator_UserColumnName="ReceivedQty" msprop:Generator_ColumnVarNameInTable="columnReceivedQty" msprop:Generator_ColumnPropNameInRow="ReceivedQty" msprop:Generator_ColumnPropNameInTable="ReceivedQtyColumn" type="xs:decimal" />
              <xs:element name="RejectedQty" msprop:Generator_UserColumnName="RejectedQty" msprop:Generator_ColumnVarNameInTable="columnRejectedQty" msprop:Generator_ColumnPropNameInRow="RejectedQty" msprop:Generator_ColumnPropNameInTable="RejectedQtyColumn" type="xs:decimal" />
              <xs:element name="StockedQty" msdata:ReadOnly="true" msprop:Generator_UserColumnName="StockedQty" msprop:Generator_ColumnVarNameInTable="columnStockedQty" msprop:Generator_ColumnPropNameInRow="StockedQty" msprop:Generator_ColumnPropNameInTable="StockedQtyColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PurchaseOrderHeader" msprop:Generator_UserTableName="PurchaseOrderHeader" msprop:Generator_RowDeletedName="PurchaseOrderHeaderRowDeleted" msprop:Generator_RowChangedName="PurchaseOrderHeaderRowChanged" msprop:Generator_RowClassName="PurchaseOrderHeaderRow" msprop:Generator_RowChangingName="PurchaseOrderHeaderRowChanging" msprop:Generator_RowEvArgName="PurchaseOrderHeaderRowChangeEvent" msprop:Generator_RowEvHandlerName="PurchaseOrderHeaderRowChangeEventHandler" msprop:Generator_TableClassName="PurchaseOrderHeaderDataTable" msprop:Generator_TableVarName="tablePurchaseOrderHeader" msprop:Generator_RowDeletingName="PurchaseOrderHeaderRowDeleting" msprop:Generator_TablePropName="PurchaseOrderHeader">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PurchaseOrderId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PurchaseOrderId" msprop:Generator_ColumnVarNameInTable="columnPurchaseOrderId" msprop:Generator_ColumnPropNameInRow="PurchaseOrderId" msprop:Generator_ColumnPropNameInTable="PurchaseOrderIdColumn" type="xs:int" />
              <xs:element name="RevisionNumber" msprop:Generator_UserColumnName="RevisionNumber" msprop:Generator_ColumnVarNameInTable="columnRevisionNumber" msprop:Generator_ColumnPropNameInRow="RevisionNumber" msprop:Generator_ColumnPropNameInTable="RevisionNumberColumn" type="xs:unsignedByte" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:unsignedByte" />
              <xs:element name="EmployeeId" msprop:Generator_UserColumnName="EmployeeId" msprop:Generator_ColumnVarNameInTable="columnEmployeeId" msprop:Generator_ColumnPropNameInRow="EmployeeId" msprop:Generator_ColumnPropNameInTable="EmployeeIdColumn" type="xs:int" />
              <xs:element name="VendorId" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" />
              <xs:element name="ShipMethodId" msprop:Generator_UserColumnName="ShipMethodId" msprop:Generator_ColumnVarNameInTable="columnShipMethodId" msprop:Generator_ColumnPropNameInRow="ShipMethodId" msprop:Generator_ColumnPropNameInTable="ShipMethodIdColumn" type="xs:int" />
              <xs:element name="OrderDate" msprop:Generator_UserColumnName="OrderDate" msprop:Generator_ColumnVarNameInTable="columnOrderDate" msprop:Generator_ColumnPropNameInRow="OrderDate" msprop:Generator_ColumnPropNameInTable="OrderDateColumn" type="xs:dateTime" />
              <xs:element name="ShipDate" msprop:Generator_UserColumnName="ShipDate" msprop:Generator_ColumnVarNameInTable="columnShipDate" msprop:Generator_ColumnPropNameInRow="ShipDate" msprop:Generator_ColumnPropNameInTable="ShipDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="SubTotal" msprop:Generator_UserColumnName="SubTotal" msprop:Generator_ColumnVarNameInTable="columnSubTotal" msprop:Generator_ColumnPropNameInRow="SubTotal" msprop:Generator_ColumnPropNameInTable="SubTotalColumn" type="xs:decimal" />
              <xs:element name="TaxAmt" msprop:Generator_UserColumnName="TaxAmt" msprop:Generator_ColumnVarNameInTable="columnTaxAmt" msprop:Generator_ColumnPropNameInRow="TaxAmt" msprop:Generator_ColumnPropNameInTable="TaxAmtColumn" type="xs:decimal" />
              <xs:element name="Freight" msprop:Generator_UserColumnName="Freight" msprop:Generator_ColumnVarNameInTable="columnFreight" msprop:Generator_ColumnPropNameInRow="Freight" msprop:Generator_ColumnPropNameInTable="FreightColumn" type="xs:decimal" />
              <xs:element name="TotalDue" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotalDue" msprop:Generator_ColumnVarNameInTable="columnTotalDue" msprop:Generator_ColumnPropNameInRow="TotalDue" msprop:Generator_ColumnPropNameInTable="TotalDueColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Roll" msprop:Generator_UserTableName="Roll" msprop:Generator_RowDeletedName="RollRowDeleted" msprop:Generator_RowChangedName="RollRowChanged" msprop:Generator_RowClassName="RollRow" msprop:Generator_RowChangingName="RollRowChanging" msprop:Generator_RowEvArgName="RollRowChangeEvent" msprop:Generator_RowEvHandlerName="RollRowChangeEventHandler" msprop:Generator_TableClassName="RollDataTable" msprop:Generator_TableVarName="tableRoll" msprop:Generator_RowDeletingName="RollRowDeleting" msprop:Generator_TablePropName="Roll">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TopId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="TopId" msprop:Generator_ColumnVarNameInTable="columnTopId" msprop:Generator_ColumnPropNameInRow="TopId" msprop:Generator_ColumnPropNameInTable="TopIdColumn" type="xs:int" />
              <xs:element name="FaturaDetayId" msprop:Generator_UserColumnName="FaturaDetayId" msprop:Generator_ColumnVarNameInTable="columnFaturaDetayId" msprop:Generator_ColumnPropNameInRow="FaturaDetayId" msprop:Generator_ColumnPropNameInTable="FaturaDetayIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="En" msprop:Generator_UserColumnName="En" msprop:Generator_ColumnVarNameInTable="columnEn" msprop:Generator_ColumnPropNameInRow="En" msprop:Generator_ColumnPropNameInTable="EnColumn" type="xs:double" minOccurs="0" />
              <xs:element name="Kalite" msprop:Generator_UserColumnName="Kalite" msprop:Generator_ColumnVarNameInTable="columnKalite" msprop:Generator_ColumnPropNameInRow="Kalite" msprop:Generator_ColumnPropNameInTable="KaliteColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="InitialQty" msprop:Generator_UserColumnName="InitialQty" msprop:Generator_ColumnVarNameInTable="columnInitialQty" msprop:Generator_ColumnPropNameInRow="InitialQty" msprop:Generator_ColumnPropNameInTable="InitialQtyColumn" type="xs:double" minOccurs="0" />
              <xs:element name="UnitPrice" msprop:Generator_UserColumnName="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="isRunOut" msprop:Generator_UserColumnName="isRunOut" msprop:Generator_ColumnVarNameInTable="columnisRunOut" msprop:Generator_ColumnPropNameInRow="isRunOut" msprop:Generator_ColumnPropNameInTable="isRunOutColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesAgent" msprop:Generator_UserTableName="SalesAgent" msprop:Generator_RowDeletedName="SalesAgentRowDeleted" msprop:Generator_RowChangedName="SalesAgentRowChanged" msprop:Generator_RowClassName="SalesAgentRow" msprop:Generator_RowChangingName="SalesAgentRowChanging" msprop:Generator_RowEvArgName="SalesAgentRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesAgentRowChangeEventHandler" msprop:Generator_TableClassName="SalesAgentDataTable" msprop:Generator_TableVarName="tableSalesAgent" msprop:Generator_RowDeletingName="SalesAgentRowDeleting" msprop:Generator_TablePropName="SalesAgent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesAgentId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" />
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="Balance" msprop:Generator_UserColumnName="Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesAgentAddress" msprop:Generator_UserTableName="SalesAgentAddress" msprop:Generator_RowDeletedName="SalesAgentAddressRowDeleted" msprop:Generator_RowChangedName="SalesAgentAddressRowChanged" msprop:Generator_RowClassName="SalesAgentAddressRow" msprop:Generator_RowChangingName="SalesAgentAddressRowChanging" msprop:Generator_RowEvArgName="SalesAgentAddressRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesAgentAddressRowChangeEventHandler" msprop:Generator_TableClassName="SalesAgentAddressDataTable" msprop:Generator_TableVarName="tableSalesAgentAddress" msprop:Generator_RowDeletingName="SalesAgentAddressRowDeleting" msprop:Generator_TablePropName="SalesAgentAddress">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesAgentId" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" />
              <xs:element name="AddressId" msprop:Generator_UserColumnName="AddressId" msprop:Generator_ColumnVarNameInTable="columnAddressId" msprop:Generator_ColumnPropNameInRow="AddressId" msprop:Generator_ColumnPropNameInTable="AddressIdColumn" type="xs:int" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesAgentBankAccount" msprop:Generator_UserTableName="SalesAgentBankAccount" msprop:Generator_RowDeletedName="SalesAgentBankAccountRowDeleted" msprop:Generator_RowChangedName="SalesAgentBankAccountRowChanged" msprop:Generator_RowClassName="SalesAgentBankAccountRow" msprop:Generator_RowChangingName="SalesAgentBankAccountRowChanging" msprop:Generator_RowEvArgName="SalesAgentBankAccountRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesAgentBankAccountRowChangeEventHandler" msprop:Generator_TableClassName="SalesAgentBankAccountDataTable" msprop:Generator_TableVarName="tableSalesAgentBankAccount" msprop:Generator_RowDeletingName="SalesAgentBankAccountRowDeleting" msprop:Generator_TablePropName="SalesAgentBankAccount">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BankAccountId" msprop:Generator_UserColumnName="BankAccountId" msprop:Generator_ColumnVarNameInTable="columnBankAccountId" msprop:Generator_ColumnPropNameInRow="BankAccountId" msprop:Generator_ColumnPropNameInTable="BankAccountIdColumn" type="xs:int" />
              <xs:element name="SalesAgentId" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" />
              <xs:element name="Preferred" msprop:Generator_UserColumnName="Preferred" msprop:Generator_ColumnVarNameInTable="columnPreferred" msprop:Generator_ColumnPropNameInRow="Preferred" msprop:Generator_ColumnPropNameInTable="PreferredColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesAgentCustomer" msprop:Generator_UserTableName="SalesAgentCustomer" msprop:Generator_RowDeletedName="SalesAgentCustomerRowDeleted" msprop:Generator_RowChangedName="SalesAgentCustomerRowChanged" msprop:Generator_RowClassName="SalesAgentCustomerRow" msprop:Generator_RowChangingName="SalesAgentCustomerRowChanging" msprop:Generator_RowEvArgName="SalesAgentCustomerRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesAgentCustomerRowChangeEventHandler" msprop:Generator_TableClassName="SalesAgentCustomerDataTable" msprop:Generator_TableVarName="tableSalesAgentCustomer" msprop:Generator_RowDeletingName="SalesAgentCustomerRowDeleting" msprop:Generator_TablePropName="SalesAgentCustomer">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesAgentId" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="CommissionPct" msprop:Generator_UserColumnName="CommissionPct" msprop:Generator_ColumnVarNameInTable="columnCommissionPct" msprop:Generator_ColumnPropNameInRow="CommissionPct" msprop:Generator_ColumnPropNameInTable="CommissionPctColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="PreferredPaymentTerm" msprop:Generator_UserColumnName="PreferredPaymentTerm" msprop:Generator_ColumnVarNameInTable="columnPreferredPaymentTerm" msprop:Generator_ColumnPropNameInRow="PreferredPaymentTerm" msprop:Generator_ColumnPropNameInTable="PreferredPaymentTermColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesAgentPayment" msprop:Generator_UserTableName="SalesAgentPayment" msprop:Generator_RowDeletedName="SalesAgentPaymentRowDeleted" msprop:Generator_RowChangedName="SalesAgentPaymentRowChanged" msprop:Generator_RowClassName="SalesAgentPaymentRow" msprop:Generator_RowChangingName="SalesAgentPaymentRowChanging" msprop:Generator_RowEvArgName="SalesAgentPaymentRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesAgentPaymentRowChangeEventHandler" msprop:Generator_TableClassName="SalesAgentPaymentDataTable" msprop:Generator_TableVarName="tableSalesAgentPayment" msprop:Generator_RowDeletingName="SalesAgentPaymentRowDeleting" msprop:Generator_TablePropName="SalesAgentPayment">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesAgentPaymentId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SalesAgentPaymentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentPaymentId" msprop:Generator_ColumnPropNameInRow="SalesAgentPaymentId" msprop:Generator_ColumnPropNameInTable="SalesAgentPaymentIdColumn" type="xs:int" />
              <xs:element name="SalesAgentId" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="SalesOrderId" msprop:Generator_UserColumnName="SalesOrderId" msprop:Generator_ColumnVarNameInTable="columnSalesOrderId" msprop:Generator_ColumnPropNameInRow="SalesOrderId" msprop:Generator_ColumnPropNameInTable="SalesOrderIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="PlannedPayment" msprop:Generator_UserColumnName="PlannedPayment" msprop:Generator_ColumnVarNameInTable="columnPlannedPayment" msprop:Generator_ColumnPropNameInRow="PlannedPayment" msprop:Generator_ColumnPropNameInTable="PlannedPaymentColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="PlannedDate" msprop:Generator_UserColumnName="PlannedDate" msprop:Generator_ColumnVarNameInTable="columnPlannedDate" msprop:Generator_ColumnPropNameInRow="PlannedDate" msprop:Generator_ColumnPropNameInTable="PlannedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ActualPayment" msprop:Generator_UserColumnName="ActualPayment" msprop:Generator_ColumnVarNameInTable="columnActualPayment" msprop:Generator_ColumnPropNameInRow="ActualPayment" msprop:Generator_ColumnPropNameInTable="ActualPaymentColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ActualDate" msprop:Generator_UserColumnName="ActualDate" msprop:Generator_ColumnVarNameInTable="columnActualDate" msprop:Generator_ColumnPropNameInRow="ActualDate" msprop:Generator_ColumnPropNameInTable="ActualDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PaymentTermId" msprop:Generator_UserColumnName="PaymentTermId" msprop:Generator_ColumnVarNameInTable="columnPaymentTermId" msprop:Generator_ColumnPropNameInRow="PaymentTermId" msprop:Generator_ColumnPropNameInTable="PaymentTermIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="PaidBy" msprop:Generator_UserColumnName="PaidBy" msprop:Generator_ColumnVarNameInTable="columnPaidBy" msprop:Generator_ColumnPropNameInRow="PaidBy" msprop:Generator_ColumnPropNameInTable="PaidByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesAgentSales" msprop:Generator_UserTableName="SalesAgentSales" msprop:Generator_RowDeletedName="SalesAgentSalesRowDeleted" msprop:Generator_RowChangedName="SalesAgentSalesRowChanged" msprop:Generator_RowClassName="SalesAgentSalesRow" msprop:Generator_RowChangingName="SalesAgentSalesRowChanging" msprop:Generator_RowEvArgName="SalesAgentSalesRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesAgentSalesRowChangeEventHandler" msprop:Generator_TableClassName="SalesAgentSalesDataTable" msprop:Generator_TableVarName="tableSalesAgentSales" msprop:Generator_RowDeletingName="SalesAgentSalesRowDeleting" msprop:Generator_TablePropName="SalesAgentSales">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesAgentId" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" />
              <xs:element name="SalesOrderId" msprop:Generator_UserColumnName="SalesOrderId" msprop:Generator_ColumnVarNameInTable="columnSalesOrderId" msprop:Generator_ColumnPropNameInRow="SalesOrderId" msprop:Generator_ColumnPropNameInTable="SalesOrderIdColumn" type="xs:int" />
              <xs:element name="CommissionPct" msprop:Generator_UserColumnName="CommissionPct" msprop:Generator_ColumnVarNameInTable="columnCommissionPct" msprop:Generator_ColumnPropNameInRow="CommissionPct" msprop:Generator_ColumnPropNameInTable="CommissionPctColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="CommissionEarned" msprop:Generator_UserColumnName="CommissionEarned" msprop:Generator_ColumnVarNameInTable="columnCommissionEarned" msprop:Generator_ColumnPropNameInRow="CommissionEarned" msprop:Generator_ColumnPropNameInTable="CommissionEarnedColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="CurrencyRateId" msprop:Generator_UserColumnName="CurrencyRateId" msprop:Generator_ColumnVarNameInTable="columnCurrencyRateId" msprop:Generator_ColumnPropNameInRow="CurrencyRateId" msprop:Generator_ColumnPropNameInTable="CurrencyRateIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="KapanisTarihi" msprop:Generator_UserColumnName="KapanisTarihi" msprop:Generator_ColumnVarNameInTable="columnKapanisTarihi" msprop:Generator_ColumnPropNameInRow="KapanisTarihi" msprop:Generator_ColumnPropNameInTable="KapanisTarihiColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesOrderDetail" msprop:Generator_UserTableName="SalesOrderDetail" msprop:Generator_RowDeletedName="SalesOrderDetailRowDeleted" msprop:Generator_RowChangedName="SalesOrderDetailRowChanged" msprop:Generator_RowClassName="SalesOrderDetailRow" msprop:Generator_RowChangingName="SalesOrderDetailRowChanging" msprop:Generator_RowEvArgName="SalesOrderDetailRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesOrderDetailRowChangeEventHandler" msprop:Generator_TableClassName="SalesOrderDetailDataTable" msprop:Generator_TableVarName="tableSalesOrderDetail" msprop:Generator_RowDeletingName="SalesOrderDetailRowDeleting" msprop:Generator_TablePropName="SalesOrderDetail">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesOrderId" msprop:Generator_UserColumnName="SalesOrderId" msprop:Generator_ColumnVarNameInTable="columnSalesOrderId" msprop:Generator_ColumnPropNameInRow="SalesOrderId" msprop:Generator_ColumnPropNameInTable="SalesOrderIdColumn" type="xs:int" />
              <xs:element name="SalesOrderDetailId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SalesOrderDetailId" msprop:Generator_ColumnVarNameInTable="columnSalesOrderDetailId" msprop:Generator_ColumnPropNameInRow="SalesOrderDetailId" msprop:Generator_ColumnPropNameInTable="SalesOrderDetailIdColumn" type="xs:int" />
              <xs:element name="CarrierTrackingNumber" msprop:Generator_UserColumnName="CarrierTrackingNumber" msprop:Generator_ColumnVarNameInTable="columnCarrierTrackingNumber" msprop:Generator_ColumnPropNameInRow="CarrierTrackingNumber" msprop:Generator_ColumnPropNameInTable="CarrierTrackingNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OrderQty" msprop:Generator_UserColumnName="OrderQty" msprop:Generator_ColumnVarNameInTable="columnOrderQty" msprop:Generator_ColumnPropNameInRow="OrderQty" msprop:Generator_ColumnPropNameInTable="OrderQtyColumn" type="xs:short" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="UnitPrice" msprop:Generator_UserColumnName="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" type="xs:decimal" />
              <xs:element name="UnitPriceDiscount" msprop:Generator_UserColumnName="UnitPriceDiscount" msprop:Generator_ColumnVarNameInTable="columnUnitPriceDiscount" msprop:Generator_ColumnPropNameInRow="UnitPriceDiscount" msprop:Generator_ColumnPropNameInTable="UnitPriceDiscountColumn" type="xs:decimal" />
              <xs:element name="LineTotal" msdata:ReadOnly="true" msprop:Generator_UserColumnName="LineTotal" msprop:Generator_ColumnVarNameInTable="columnLineTotal" msprop:Generator_ColumnPropNameInRow="LineTotal" msprop:Generator_ColumnPropNameInTable="LineTotalColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesOrderHeader" msprop:Generator_UserTableName="SalesOrderHeader" msprop:Generator_RowDeletedName="SalesOrderHeaderRowDeleted" msprop:Generator_RowChangedName="SalesOrderHeaderRowChanged" msprop:Generator_RowClassName="SalesOrderHeaderRow" msprop:Generator_RowChangingName="SalesOrderHeaderRowChanging" msprop:Generator_RowEvArgName="SalesOrderHeaderRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesOrderHeaderRowChangeEventHandler" msprop:Generator_TableClassName="SalesOrderHeaderDataTable" msprop:Generator_TableVarName="tableSalesOrderHeader" msprop:Generator_RowDeletingName="SalesOrderHeaderRowDeleting" msprop:Generator_TablePropName="SalesOrderHeader">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesOrderId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SalesOrderId" msprop:Generator_ColumnVarNameInTable="columnSalesOrderId" msprop:Generator_ColumnPropNameInRow="SalesOrderId" msprop:Generator_ColumnPropNameInTable="SalesOrderIdColumn" type="xs:int" />
              <xs:element name="RevisionNumber" msprop:Generator_UserColumnName="RevisionNumber" msprop:Generator_ColumnVarNameInTable="columnRevisionNumber" msprop:Generator_ColumnPropNameInRow="RevisionNumber" msprop:Generator_ColumnPropNameInTable="RevisionNumberColumn" type="xs:unsignedByte" />
              <xs:element name="OrderDate" msprop:Generator_UserColumnName="OrderDate" msprop:Generator_ColumnVarNameInTable="columnOrderDate" msprop:Generator_ColumnPropNameInRow="OrderDate" msprop:Generator_ColumnPropNameInTable="OrderDateColumn" type="xs:dateTime" />
              <xs:element name="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" type="xs:dateTime" />
              <xs:element name="ShipDate" msprop:Generator_UserColumnName="ShipDate" msprop:Generator_ColumnVarNameInTable="columnShipDate" msprop:Generator_ColumnPropNameInRow="ShipDate" msprop:Generator_ColumnPropNameInTable="ShipDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:unsignedByte" />
              <xs:element name="SampleFlag" msprop:Generator_UserColumnName="SampleFlag" msprop:Generator_ColumnVarNameInTable="columnSampleFlag" msprop:Generator_ColumnPropNameInRow="SampleFlag" msprop:Generator_ColumnPropNameInTable="SampleFlagColumn" type="xs:boolean" />
              <xs:element name="SalesOrderNumber" msdata:ReadOnly="true" msprop:Generator_UserColumnName="SalesOrderNumber" msprop:Generator_ColumnVarNameInTable="columnSalesOrderNumber" msprop:Generator_ColumnPropNameInRow="SalesOrderNumber" msprop:Generator_ColumnPropNameInTable="SalesOrderNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PurchaseOrderNumber" msprop:Generator_UserColumnName="PurchaseOrderNumber" msprop:Generator_ColumnVarNameInTable="columnPurchaseOrderNumber" msprop:Generator_ColumnPropNameInRow="PurchaseOrderNumber" msprop:Generator_ColumnPropNameInTable="PurchaseOrderNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AccountNumber" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="SalesPersonId" msprop:Generator_UserColumnName="SalesPersonId" msprop:Generator_ColumnVarNameInTable="columnSalesPersonId" msprop:Generator_ColumnPropNameInRow="SalesPersonId" msprop:Generator_ColumnPropNameInTable="SalesPersonIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="SalesAgentId" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CountryCode" msprop:Generator_UserColumnName="CountryCode" msprop:Generator_ColumnVarNameInTable="columnCountryCode" msprop:Generator_ColumnPropNameInRow="CountryCode" msprop:Generator_ColumnPropNameInTable="CountryCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BillToAddressId" msprop:Generator_UserColumnName="BillToAddressId" msprop:Generator_ColumnVarNameInTable="columnBillToAddressId" msprop:Generator_ColumnPropNameInRow="BillToAddressId" msprop:Generator_ColumnPropNameInTable="BillToAddressIdColumn" type="xs:int" />
              <xs:element name="ShipToAddressId" msprop:Generator_UserColumnName="ShipToAddressId" msprop:Generator_ColumnVarNameInTable="columnShipToAddressId" msprop:Generator_ColumnPropNameInRow="ShipToAddressId" msprop:Generator_ColumnPropNameInTable="ShipToAddressIdColumn" type="xs:int" />
              <xs:element name="ShipMethodId" msprop:Generator_UserColumnName="ShipMethodId" msprop:Generator_ColumnVarNameInTable="columnShipMethodId" msprop:Generator_ColumnPropNameInRow="ShipMethodId" msprop:Generator_ColumnPropNameInTable="ShipMethodIdColumn" type="xs:int" />
              <xs:element name="CurrencyRateId" msprop:Generator_UserColumnName="CurrencyRateId" msprop:Generator_ColumnVarNameInTable="columnCurrencyRateId" msprop:Generator_ColumnPropNameInRow="CurrencyRateId" msprop:Generator_ColumnPropNameInTable="CurrencyRateIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="SubTotal" msprop:Generator_UserColumnName="SubTotal" msprop:Generator_ColumnVarNameInTable="columnSubTotal" msprop:Generator_ColumnPropNameInRow="SubTotal" msprop:Generator_ColumnPropNameInTable="SubTotalColumn" type="xs:decimal" />
              <xs:element name="TaxAmt" msprop:Generator_UserColumnName="TaxAmt" msprop:Generator_ColumnVarNameInTable="columnTaxAmt" msprop:Generator_ColumnPropNameInRow="TaxAmt" msprop:Generator_ColumnPropNameInTable="TaxAmtColumn" type="xs:decimal" />
              <xs:element name="Freight" msprop:Generator_UserColumnName="Freight" msprop:Generator_ColumnVarNameInTable="columnFreight" msprop:Generator_ColumnPropNameInRow="Freight" msprop:Generator_ColumnPropNameInTable="FreightColumn" type="xs:decimal" />
              <xs:element name="TotalDue" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotalDue" msprop:Generator_ColumnVarNameInTable="columnTotalDue" msprop:Generator_ColumnPropNameInRow="TotalDue" msprop:Generator_ColumnPropNameInTable="TotalDueColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Comment" msprop:Generator_UserColumnName="Comment" msprop:Generator_ColumnVarNameInTable="columnComment" msprop:Generator_ColumnPropNameInRow="Comment" msprop:Generator_ColumnPropNameInTable="CommentColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesPerson" msprop:Generator_UserTableName="SalesPerson" msprop:Generator_RowDeletedName="SalesPersonRowDeleted" msprop:Generator_RowChangedName="SalesPersonRowChanged" msprop:Generator_RowClassName="SalesPersonRow" msprop:Generator_RowChangingName="SalesPersonRowChanging" msprop:Generator_RowEvArgName="SalesPersonRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesPersonRowChangeEventHandler" msprop:Generator_TableClassName="SalesPersonDataTable" msprop:Generator_TableVarName="tableSalesPerson" msprop:Generator_RowDeletingName="SalesPersonRowDeleting" msprop:Generator_TablePropName="SalesPerson">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesPersonId" msprop:Generator_UserColumnName="SalesPersonId" msprop:Generator_ColumnVarNameInTable="columnSalesPersonId" msprop:Generator_ColumnPropNameInRow="SalesPersonId" msprop:Generator_ColumnPropNameInTable="SalesPersonIdColumn" type="xs:int" />
              <xs:element name="SalesQuota" msprop:Generator_UserColumnName="SalesQuota" msprop:Generator_ColumnVarNameInTable="columnSalesQuota" msprop:Generator_ColumnPropNameInRow="SalesQuota" msprop:Generator_ColumnPropNameInTable="SalesQuotaColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Bonus" msprop:Generator_UserColumnName="Bonus" msprop:Generator_ColumnVarNameInTable="columnBonus" msprop:Generator_ColumnPropNameInRow="Bonus" msprop:Generator_ColumnPropNameInTable="BonusColumn" type="xs:decimal" />
              <xs:element name="CommissionPct" msprop:Generator_UserColumnName="CommissionPct" msprop:Generator_ColumnVarNameInTable="columnCommissionPct" msprop:Generator_ColumnPropNameInRow="CommissionPct" msprop:Generator_ColumnPropNameInTable="CommissionPctColumn" type="xs:decimal" />
              <xs:element name="SalesYTD" msprop:Generator_UserColumnName="SalesYTD" msprop:Generator_ColumnVarNameInTable="columnSalesYTD" msprop:Generator_ColumnPropNameInRow="SalesYTD" msprop:Generator_ColumnPropNameInTable="SalesYTDColumn" type="xs:decimal" />
              <xs:element name="SalesLastYear" msprop:Generator_UserColumnName="SalesLastYear" msprop:Generator_ColumnVarNameInTable="columnSalesLastYear" msprop:Generator_ColumnPropNameInRow="SalesLastYear" msprop:Generator_ColumnPropNameInTable="SalesLastYearColumn" type="xs:decimal" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesPersonCustomer" msprop:Generator_UserTableName="SalesPersonCustomer" msprop:Generator_RowDeletedName="SalesPersonCustomerRowDeleted" msprop:Generator_RowChangedName="SalesPersonCustomerRowChanged" msprop:Generator_RowClassName="SalesPersonCustomerRow" msprop:Generator_RowChangingName="SalesPersonCustomerRowChanging" msprop:Generator_RowEvArgName="SalesPersonCustomerRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesPersonCustomerRowChangeEventHandler" msprop:Generator_TableClassName="SalesPersonCustomerDataTable" msprop:Generator_TableVarName="tableSalesPersonCustomer" msprop:Generator_RowDeletingName="SalesPersonCustomerRowDeleting" msprop:Generator_TablePropName="SalesPersonCustomer">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesPersonId" msprop:Generator_UserColumnName="SalesPersonId" msprop:Generator_ColumnVarNameInTable="columnSalesPersonId" msprop:Generator_ColumnPropNameInRow="SalesPersonId" msprop:Generator_ColumnPropNameInTable="SalesPersonIdColumn" type="xs:int" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Shelf" msprop:Generator_UserTableName="Shelf" msprop:Generator_RowDeletedName="ShelfRowDeleted" msprop:Generator_RowChangedName="ShelfRowChanged" msprop:Generator_RowClassName="ShelfRow" msprop:Generator_RowChangingName="ShelfRowChanging" msprop:Generator_RowEvArgName="ShelfRowChangeEvent" msprop:Generator_RowEvHandlerName="ShelfRowChangeEventHandler" msprop:Generator_TableClassName="ShelfDataTable" msprop:Generator_TableVarName="tableShelf" msprop:Generator_RowDeletingName="ShelfRowDeleting" msprop:Generator_TablePropName="Shelf">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ShelfId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ShelfId" msprop:Generator_ColumnVarNameInTable="columnShelfId" msprop:Generator_ColumnPropNameInRow="ShelfId" msprop:Generator_ColumnPropNameInTable="ShelfIdColumn" type="xs:short" />
              <xs:element name="LocationId" msprop:Generator_UserColumnName="LocationId" msprop:Generator_ColumnVarNameInTable="columnLocationId" msprop:Generator_ColumnPropNameInRow="LocationId" msprop:Generator_ColumnPropNameInTable="LocationIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ShipMethod" msprop:Generator_UserTableName="ShipMethod" msprop:Generator_RowDeletedName="ShipMethodRowDeleted" msprop:Generator_RowChangedName="ShipMethodRowChanged" msprop:Generator_RowClassName="ShipMethodRow" msprop:Generator_RowChangingName="ShipMethodRowChanging" msprop:Generator_RowEvArgName="ShipMethodRowChangeEvent" msprop:Generator_RowEvHandlerName="ShipMethodRowChangeEventHandler" msprop:Generator_TableClassName="ShipMethodDataTable" msprop:Generator_TableVarName="tableShipMethod" msprop:Generator_RowDeletingName="ShipMethodRowDeleting" msprop:Generator_TablePropName="ShipMethod">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ShipMethodId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ShipMethodId" msprop:Generator_ColumnVarNameInTable="columnShipMethodId" msprop:Generator_ColumnPropNameInRow="ShipMethodId" msprop:Generator_ColumnPropNameInTable="ShipMethodIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="StokkoduTipi" msprop:Generator_UserTableName="StokkoduTipi" msprop:Generator_RowDeletedName="StokkoduTipiRowDeleted" msprop:Generator_RowChangedName="StokkoduTipiRowChanged" msprop:Generator_RowClassName="StokkoduTipiRow" msprop:Generator_RowChangingName="StokkoduTipiRowChanging" msprop:Generator_RowEvArgName="StokkoduTipiRowChangeEvent" msprop:Generator_RowEvHandlerName="StokkoduTipiRowChangeEventHandler" msprop:Generator_TableClassName="StokkoduTipiDataTable" msprop:Generator_TableVarName="tableStokkoduTipi" msprop:Generator_RowDeletingName="StokkoduTipiRowDeleting" msprop:Generator_TablePropName="StokkoduTipi">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StokkoduTipiId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="StokkoduTipiId" msprop:Generator_ColumnVarNameInTable="columnStokkoduTipiId" msprop:Generator_ColumnPropNameInRow="StokkoduTipiId" msprop:Generator_ColumnPropNameInTable="StokkoduTipiIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="UnitMeasure" msprop:Generator_UserTableName="UnitMeasure" msprop:Generator_RowDeletedName="UnitMeasureRowDeleted" msprop:Generator_RowChangedName="UnitMeasureRowChanged" msprop:Generator_RowClassName="UnitMeasureRow" msprop:Generator_RowChangingName="UnitMeasureRowChanging" msprop:Generator_RowEvArgName="UnitMeasureRowChangeEvent" msprop:Generator_RowEvHandlerName="UnitMeasureRowChangeEventHandler" msprop:Generator_TableClassName="UnitMeasureDataTable" msprop:Generator_TableVarName="tableUnitMeasure" msprop:Generator_RowDeletingName="UnitMeasureRowDeleting" msprop:Generator_TablePropName="UnitMeasure">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UnitMeasureId" msprop:Generator_UserColumnName="UnitMeasureId" msprop:Generator_ColumnVarNameInTable="columnUnitMeasureId" msprop:Generator_ColumnPropNameInRow="UnitMeasureId" msprop:Generator_ColumnPropNameInTable="UnitMeasureIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="UserRights" msprop:Generator_UserTableName="UserRights" msprop:Generator_RowDeletedName="UserRightsRowDeleted" msprop:Generator_RowChangedName="UserRightsRowChanged" msprop:Generator_RowClassName="UserRightsRow" msprop:Generator_RowChangingName="UserRightsRowChanging" msprop:Generator_RowEvArgName="UserRightsRowChangeEvent" msprop:Generator_RowEvHandlerName="UserRightsRowChangeEventHandler" msprop:Generator_TableClassName="UserRightsDataTable" msprop:Generator_TableVarName="tableUserRights" msprop:Generator_RowDeletingName="UserRightsRowDeleting" msprop:Generator_TablePropName="UserRights">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="ModuleId" msprop:Generator_UserColumnName="ModuleId" msprop:Generator_ColumnVarNameInTable="columnModuleId" msprop:Generator_ColumnPropNameInRow="ModuleId" msprop:Generator_ColumnPropNameInTable="ModuleIdColumn" type="xs:int" />
              <xs:element name="UserRight" msprop:Generator_UserColumnName="UserRight" msprop:Generator_ColumnVarNameInTable="columnUserRight" msprop:Generator_ColumnPropNameInRow="UserRight" msprop:Generator_ColumnPropNameInTable="UserRightColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Vendor" msprop:Generator_UserTableName="Vendor" msprop:Generator_RowDeletedName="VendorRowDeleted" msprop:Generator_RowChangedName="VendorRowChanged" msprop:Generator_RowClassName="VendorRow" msprop:Generator_RowChangingName="VendorRowChanging" msprop:Generator_RowEvArgName="VendorRowChangeEvent" msprop:Generator_RowEvHandlerName="VendorRowChangeEventHandler" msprop:Generator_TableClassName="VendorDataTable" msprop:Generator_TableVarName="tableVendor" msprop:Generator_RowDeletingName="VendorRowDeleting" msprop:Generator_TablePropName="Vendor">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="VendorId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" />
              <xs:element name="AccountNumber" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreditRating" msprop:Generator_UserColumnName="CreditRating" msprop:Generator_ColumnVarNameInTable="columnCreditRating" msprop:Generator_ColumnPropNameInRow="CreditRating" msprop:Generator_ColumnPropNameInTable="CreditRatingColumn" type="xs:unsignedByte" />
              <xs:element name="PreferredVendorStatus" msprop:Generator_UserColumnName="PreferredVendorStatus" msprop:Generator_ColumnVarNameInTable="columnPreferredVendorStatus" msprop:Generator_ColumnPropNameInRow="PreferredVendorStatus" msprop:Generator_ColumnPropNameInTable="PreferredVendorStatusColumn" type="xs:boolean" />
              <xs:element name="PreferredPaymentTerm" msprop:Generator_UserColumnName="PreferredPaymentTerm" msprop:Generator_ColumnVarNameInTable="columnPreferredPaymentTerm" msprop:Generator_ColumnPropNameInRow="PreferredPaymentTerm" msprop:Generator_ColumnPropNameInTable="PreferredPaymentTermColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="VendorAddress" msprop:Generator_UserTableName="VendorAddress" msprop:Generator_RowDeletedName="VendorAddressRowDeleted" msprop:Generator_RowChangedName="VendorAddressRowChanged" msprop:Generator_RowClassName="VendorAddressRow" msprop:Generator_RowChangingName="VendorAddressRowChanging" msprop:Generator_RowEvArgName="VendorAddressRowChangeEvent" msprop:Generator_RowEvHandlerName="VendorAddressRowChangeEventHandler" msprop:Generator_TableClassName="VendorAddressDataTable" msprop:Generator_TableVarName="tableVendorAddress" msprop:Generator_RowDeletingName="VendorAddressRowDeleting" msprop:Generator_TablePropName="VendorAddress">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="VendorId" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" />
              <xs:element name="AddressId" msprop:Generator_UserColumnName="AddressId" msprop:Generator_ColumnVarNameInTable="columnAddressId" msprop:Generator_ColumnPropNameInRow="AddressId" msprop:Generator_ColumnPropNameInTable="AddressIdColumn" type="xs:int" />
              <xs:element name="AddressTypeId" msprop:Generator_UserColumnName="AddressTypeId" msprop:Generator_ColumnVarNameInTable="columnAddressTypeId" msprop:Generator_ColumnPropNameInRow="AddressTypeId" msprop:Generator_ColumnPropNameInTable="AddressTypeIdColumn" type="xs:int" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="VendorBankAccount" msprop:Generator_UserTableName="VendorBankAccount" msprop:Generator_RowDeletedName="VendorBankAccountRowDeleted" msprop:Generator_RowChangedName="VendorBankAccountRowChanged" msprop:Generator_RowClassName="VendorBankAccountRow" msprop:Generator_RowChangingName="VendorBankAccountRowChanging" msprop:Generator_RowEvArgName="VendorBankAccountRowChangeEvent" msprop:Generator_RowEvHandlerName="VendorBankAccountRowChangeEventHandler" msprop:Generator_TableClassName="VendorBankAccountDataTable" msprop:Generator_TableVarName="tableVendorBankAccount" msprop:Generator_RowDeletingName="VendorBankAccountRowDeleting" msprop:Generator_TablePropName="VendorBankAccount">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BankAccountId" msprop:Generator_UserColumnName="BankAccountId" msprop:Generator_ColumnVarNameInTable="columnBankAccountId" msprop:Generator_ColumnPropNameInRow="BankAccountId" msprop:Generator_ColumnPropNameInTable="BankAccountIdColumn" type="xs:int" />
              <xs:element name="VendorId" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" />
              <xs:element name="Preferred" msprop:Generator_UserColumnName="Preferred" msprop:Generator_ColumnVarNameInTable="columnPreferred" msprop:Generator_ColumnPropNameInRow="Preferred" msprop:Generator_ColumnPropNameInTable="PreferredColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Address" />
      <xs:field xpath="mstns:AddressId" />
    </xs:unique>
    <xs:unique name="VendorContact_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:VendorContact" />
      <xs:field xpath="mstns:VendorId" />
      <xs:field xpath="mstns:ContactId" />
    </xs:unique>
    <xs:unique name="AddressType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AddressType" />
      <xs:field xpath="mstns:AddressTypeId" />
    </xs:unique>
    <xs:unique name="AlisSekli_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AlisSekli" />
      <xs:field xpath="mstns:AlisSekliId" />
    </xs:unique>
    <xs:unique name="BankAccount_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BankAccount" />
      <xs:field xpath="mstns:BankAccountId" />
    </xs:unique>
    <xs:unique name="BelgeTipi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BelgeTipi" />
      <xs:field xpath="mstns:BelgeTipiId" />
    </xs:unique>
    <xs:unique name="BillOfMaterials_Constraint1" msdata:ConstraintName="Constraint1">
      <xs:selector xpath=".//mstns:BillOfMaterials" />
      <xs:field xpath="mstns:ProductAssemblyId" />
      <xs:field xpath="mstns:ComponentId" />
      <xs:field xpath="mstns:StartDate" />
    </xs:unique>
    <xs:unique name="Carrier_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Carrier" />
      <xs:field xpath="mstns:CarrierId" />
    </xs:unique>
    <xs:unique name="Contact_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Contact" />
      <xs:field xpath="mstns:ContactId" />
    </xs:unique>
    <xs:unique name="ContactType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ContactType" />
      <xs:field xpath="mstns:ContactTypeId" />
    </xs:unique>
    <xs:unique name="Country_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Country" />
      <xs:field xpath="mstns:CountryCode" />
    </xs:unique>
    <xs:unique name="Culture_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Culture" />
      <xs:field xpath="mstns:CultureId" />
    </xs:unique>
    <xs:unique name="Currency_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Currency" />
      <xs:field xpath="mstns:CurrencyCode" />
    </xs:unique>
    <xs:unique name="CurrencyRate_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CurrencyRate" />
      <xs:field xpath="mstns:CurrencyRateId" />
    </xs:unique>
    <xs:unique name="Customer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Customer" />
      <xs:field xpath="mstns:CustomerId" />
    </xs:unique>
    <xs:unique name="CustomerAddress_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustomerAddress" />
      <xs:field xpath="mstns:CustomerId" />
      <xs:field xpath="mstns:AddressId" />
    </xs:unique>
    <xs:unique name="CustomerBankAccount_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustomerBankAccount" />
      <xs:field xpath="mstns:BankAccountId" />
      <xs:field xpath="mstns:CustomerId" />
    </xs:unique>
    <xs:unique name="CustomerBrand_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustomerBrand" />
      <xs:field xpath="mstns:BrandId" />
    </xs:unique>
    <xs:unique name="CustomerContact_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustomerContact" />
      <xs:field xpath="mstns:CustomerId" />
      <xs:field xpath="mstns:ContactId" />
    </xs:unique>
    <xs:unique name="DeliveryTerm_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DeliveryTerm" />
      <xs:field xpath="mstns:DeliveryTermId" />
    </xs:unique>
    <xs:unique name="Department_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Department" />
      <xs:field xpath="mstns:DepartmentId" />
    </xs:unique>
    <xs:unique name="Document_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Document" />
      <xs:field xpath="mstns:DocumentId" />
    </xs:unique>
    <xs:unique name="Employee_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Employee" />
      <xs:field xpath="mstns:EmployeeId" />
    </xs:unique>
    <xs:unique name="EmployeeAddress_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:EmployeeAddress" />
      <xs:field xpath="mstns:EmployeeId" />
      <xs:field xpath="mstns:AddressId" />
    </xs:unique>
    <xs:unique name="ExpenseMatrix_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ExpenseMatrix" />
      <xs:field xpath="mstns:DeliveryTermId" />
      <xs:field xpath="mstns:OriginId" />
    </xs:unique>
    <xs:unique name="ExpensePercentage_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ExpensePercentage" />
      <xs:field xpath="mstns:ExpensePercentageId" />
    </xs:unique>
    <xs:unique name="Fatura_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Fatura" />
      <xs:field xpath="mstns:FaturaId" />
    </xs:unique>
    <xs:unique name="FaturaDetay_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FaturaDetay" />
      <xs:field xpath="mstns:FaturaDetayId" />
    </xs:unique>
    <xs:unique name="FeatureAksesuar_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FeatureAksesuar" />
      <xs:field xpath="mstns:ProductId" />
    </xs:unique>
    <xs:unique name="FeatureKumas_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FeatureKumas" />
      <xs:field xpath="mstns:FaturaDetayId" />
    </xs:unique>
    <xs:unique name="Hareket_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Hareket" />
      <xs:field xpath="mstns:HareketId" />
    </xs:unique>
    <xs:unique name="HareketDetay_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:HareketDetay" />
      <xs:field xpath="mstns:HareketDetayId" />
    </xs:unique>
    <xs:unique name="HareketDetayTop_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:HareketDetayTop" />
      <xs:field xpath="mstns:HareketDetayId" />
      <xs:field xpath="mstns:TopId" />
    </xs:unique>
    <xs:unique name="HareketTipi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:HareketTipi" />
      <xs:field xpath="mstns:HareketTipiId" />
    </xs:unique>
    <xs:unique name="Inventory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Inventory" />
      <xs:field xpath="mstns:InventoryId" />
    </xs:unique>
    <xs:unique name="Location_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Location" />
      <xs:field xpath="mstns:LocationId" />
    </xs:unique>
    <xs:unique name="Login_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Login" />
      <xs:field xpath="mstns:HostName" />
    </xs:unique>
    <xs:unique name="LoginHistory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LoginHistory" />
      <xs:field xpath="mstns:LoginHistoryId" />
    </xs:unique>
    <xs:unique name="LookupTables_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LookupTables" />
      <xs:field xpath="mstns:TableName" />
    </xs:unique>
    <xs:unique name="Module_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Module" />
      <xs:field xpath="mstns:ModuleId" />
    </xs:unique>
    <xs:unique name="Origin_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Origin" />
      <xs:field xpath="mstns:OriginId" />
    </xs:unique>
    <xs:unique name="PaymentTerm_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PaymentTerm" />
      <xs:field xpath="mstns:PaymentTermId" />
    </xs:unique>
    <xs:unique name="Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Product" />
      <xs:field xpath="mstns:ProductId" />
    </xs:unique>
    <xs:unique name="ProductCategory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductCategory" />
      <xs:field xpath="mstns:ProductCategoryId" />
    </xs:unique>
    <xs:unique name="ProductCostHistory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductCostHistory" />
      <xs:field xpath="mstns:ProductId" />
      <xs:field xpath="mstns:StartDate" />
    </xs:unique>
    <xs:unique name="ProductDescription_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductDescription" />
      <xs:field xpath="mstns:ProductDescriptionId" />
    </xs:unique>
    <xs:unique name="ProductDocument_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductDocument" />
      <xs:field xpath="mstns:ProductId" />
      <xs:field xpath="mstns:DocumentId" />
    </xs:unique>
    <xs:unique name="ProductListPriceHistory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductListPriceHistory" />
      <xs:field xpath="mstns:ProductId" />
      <xs:field xpath="mstns:StartDate" />
    </xs:unique>
    <xs:unique name="ProductModel_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductModel" />
      <xs:field xpath="mstns:ProductModelId" />
    </xs:unique>
    <xs:unique name="ProductModelProductDescriptionCulture_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductModelProductDescriptionCulture" />
      <xs:field xpath="mstns:ProductModelId" />
      <xs:field xpath="mstns:ProductDescriptionId" />
      <xs:field xpath="mstns:CultureId" />
    </xs:unique>
    <xs:unique name="ProductPhoto_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductPhoto" />
      <xs:field xpath="mstns:ProductId" />
    </xs:unique>
    <xs:unique name="ProductSubcategory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductSubcategory" />
      <xs:field xpath="mstns:ProductSubcategoryId" />
    </xs:unique>
    <xs:unique name="ProductVendor_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductVendor" />
      <xs:field xpath="mstns:ProductId" />
      <xs:field xpath="mstns:VendorId" />
    </xs:unique>
    <xs:unique name="PurchaseOrderDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PurchaseOrderDetail" />
      <xs:field xpath="mstns:PurchaseOrderId" />
      <xs:field xpath="mstns:PurchaseOrderDetailId" />
    </xs:unique>
    <xs:unique name="PurchaseOrderHeader_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PurchaseOrderHeader" />
      <xs:field xpath="mstns:PurchaseOrderId" />
    </xs:unique>
    <xs:unique name="Roll_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Roll" />
      <xs:field xpath="mstns:TopId" />
    </xs:unique>
    <xs:unique name="SalesAgent_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesAgent" />
      <xs:field xpath="mstns:SalesAgentId" />
    </xs:unique>
    <xs:unique name="SalesAgentAddress_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesAgentAddress" />
      <xs:field xpath="mstns:SalesAgentId" />
      <xs:field xpath="mstns:AddressId" />
    </xs:unique>
    <xs:unique name="SalesAgentBankAccount_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesAgentBankAccount" />
      <xs:field xpath="mstns:BankAccountId" />
      <xs:field xpath="mstns:SalesAgentId" />
    </xs:unique>
    <xs:unique name="SalesAgentCustomer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesAgentCustomer" />
      <xs:field xpath="mstns:SalesAgentId" />
      <xs:field xpath="mstns:CustomerId" />
      <xs:field xpath="mstns:StartDate" />
    </xs:unique>
    <xs:unique name="SalesAgentPayment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesAgentPayment" />
      <xs:field xpath="mstns:SalesAgentPaymentId" />
    </xs:unique>
    <xs:unique name="SalesAgentSales_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesAgentSales" />
      <xs:field xpath="mstns:SalesAgentId" />
      <xs:field xpath="mstns:SalesOrderId" />
    </xs:unique>
    <xs:unique name="SalesOrderDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesOrderDetail" />
      <xs:field xpath="mstns:SalesOrderId" />
      <xs:field xpath="mstns:SalesOrderDetailId" />
    </xs:unique>
    <xs:unique name="SalesOrderHeader_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesOrderHeader" />
      <xs:field xpath="mstns:SalesOrderId" />
    </xs:unique>
    <xs:unique name="SalesPerson_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesPerson" />
      <xs:field xpath="mstns:SalesPersonId" />
    </xs:unique>
    <xs:unique name="SalesPersonCustomer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesPersonCustomer" />
      <xs:field xpath="mstns:SalesPersonId" />
      <xs:field xpath="mstns:CustomerId" />
      <xs:field xpath="mstns:StartDate" />
    </xs:unique>
    <xs:unique name="Shelf_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Shelf" />
      <xs:field xpath="mstns:ShelfId" />
    </xs:unique>
    <xs:unique name="ShipMethod_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ShipMethod" />
      <xs:field xpath="mstns:ShipMethodId" />
    </xs:unique>
    <xs:unique name="StokkoduTipi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:StokkoduTipi" />
      <xs:field xpath="mstns:StokkoduTipiId" />
    </xs:unique>
    <xs:unique name="UnitMeasure_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UnitMeasure" />
      <xs:field xpath="mstns:UnitMeasureId" />
    </xs:unique>
    <xs:unique name="UserRights_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UserRights" />
      <xs:field xpath="mstns:ContactId" />
      <xs:field xpath="mstns:ModuleId" />
    </xs:unique>
    <xs:unique name="Vendor_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Vendor" />
      <xs:field xpath="mstns:VendorId" />
    </xs:unique>
    <xs:unique name="VendorAddress_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:VendorAddress" />
      <xs:field xpath="mstns:VendorId" />
      <xs:field xpath="mstns:AddressId" />
    </xs:unique>
    <xs:unique name="VendorBankAccount_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:VendorBankAccount" />
      <xs:field xpath="mstns:BankAccountId" />
      <xs:field xpath="mstns:VendorId" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_Address_Country" msdata:parent="Country" msdata:child="Address" msdata:parentkey="CountryCode" msdata:childkey="CountryCode" msprop:Generator_UserRelationName="FK_Address_Country" msprop:Generator_RelationVarName="relationFK_Address_Country" msprop:Generator_UserChildTable="Address" msprop:Generator_UserParentTable="Country" msprop:Generator_ParentPropName="CountryRow" msprop:Generator_ChildPropName="GetAddressRows" />
      <msdata:Relationship name="FK_VendorContact_Contact_ContactId" msdata:parent="Contact" msdata:child="VendorContact" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_VendorContact_Contact_ContactId" msprop:Generator_RelationVarName="relationFK_VendorContact_Contact_ContactId" msprop:Generator_UserChildTable="VendorContact" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetVendorContactRows" />
      <msdata:Relationship name="FK_VendorContact_ContactType_ContactTypeId" msdata:parent="ContactType" msdata:child="VendorContact" msdata:parentkey="ContactTypeId" msdata:childkey="ContactTypeId" msprop:Generator_UserRelationName="FK_VendorContact_ContactType_ContactTypeId" msprop:Generator_RelationVarName="relationFK_VendorContact_ContactType_ContactTypeId" msprop:Generator_UserChildTable="VendorContact" msprop:Generator_UserParentTable="ContactType" msprop:Generator_ParentPropName="ContactTypeRow" msprop:Generator_ChildPropName="GetVendorContactRows" />
      <msdata:Relationship name="FK_VendorContact_Vendor_VendorId" msdata:parent="Vendor" msdata:child="VendorContact" msdata:parentkey="VendorId" msdata:childkey="VendorId" msprop:Generator_UserRelationName="FK_VendorContact_Vendor_VendorId" msprop:Generator_RelationVarName="relationFK_VendorContact_Vendor_VendorId" msprop:Generator_UserChildTable="VendorContact" msprop:Generator_UserParentTable="Vendor" msprop:Generator_ParentPropName="VendorRow" msprop:Generator_ChildPropName="GetVendorContactRows" />
      <msdata:Relationship name="FK_BankAccount_Country" msdata:parent="Country" msdata:child="BankAccount" msdata:parentkey="CountryCode" msdata:childkey="CountryCode" msprop:Generator_UserRelationName="FK_BankAccount_Country" msprop:Generator_RelationVarName="relationFK_BankAccount_Country" msprop:Generator_UserChildTable="BankAccount" msprop:Generator_UserParentTable="Country" msprop:Generator_ParentPropName="CountryRow" msprop:Generator_ChildPropName="GetBankAccountRows" />
      <msdata:Relationship name="FK_BillOfMaterials_Product_ComponentId" msdata:parent="Product" msdata:child="BillOfMaterials" msdata:parentkey="ProductId" msdata:childkey="ComponentId" msprop:Generator_UserRelationName="FK_BillOfMaterials_Product_ComponentId" msprop:Generator_RelationVarName="relationFK_BillOfMaterials_Product_ComponentId" msprop:Generator_UserChildTable="BillOfMaterials" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRowByFK_BillOfMaterials_Product_ComponentId" msprop:Generator_ChildPropName="GetBillOfMaterialsRowsByFK_BillOfMaterials_Product_ComponentId" />
      <msdata:Relationship name="FK_BillOfMaterials_Product_ProductAssemblyId" msdata:parent="Product" msdata:child="BillOfMaterials" msdata:parentkey="ProductId" msdata:childkey="ProductAssemblyId" msprop:Generator_UserRelationName="FK_BillOfMaterials_Product_ProductAssemblyId" msprop:Generator_RelationVarName="relationFK_BillOfMaterials_Product_ProductAssemblyId" msprop:Generator_UserChildTable="BillOfMaterials" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRowByFK_BillOfMaterials_Product_ProductAssemblyId" msprop:Generator_ChildPropName="GetBillOfMaterialsRowsByFK_BillOfMaterials_Product_ProductAssemblyId" />
      <msdata:Relationship name="FK_BillOfMaterials_UnitMeasure_UnitMeasureCode" msdata:parent="UnitMeasure" msdata:child="BillOfMaterials" msdata:parentkey="UnitMeasureId" msdata:childkey="UnitMeasureId" msprop:Generator_UserRelationName="FK_BillOfMaterials_UnitMeasure_UnitMeasureCode" msprop:Generator_RelationVarName="relationFK_BillOfMaterials_UnitMeasure_UnitMeasureCode" msprop:Generator_UserChildTable="BillOfMaterials" msprop:Generator_UserParentTable="UnitMeasure" msprop:Generator_ParentPropName="UnitMeasureRow" msprop:Generator_ChildPropName="GetBillOfMaterialsRows" />
      <msdata:Relationship name="FK_Country_Culture" msdata:parent="Culture" msdata:child="Country" msdata:parentkey="CultureId" msdata:childkey="CultureId" msprop:Generator_UserRelationName="FK_Country_Culture" msprop:Generator_RelationVarName="relationFK_Country_Culture" msprop:Generator_UserChildTable="Country" msprop:Generator_UserParentTable="Culture" msprop:Generator_ParentPropName="CultureRow" msprop:Generator_ChildPropName="GetCountryRows" />
      <msdata:Relationship name="FK_Country_Currency" msdata:parent="Currency" msdata:child="Country" msdata:parentkey="CurrencyCode" msdata:childkey="CurrencyCode" msprop:Generator_UserRelationName="FK_Country_Currency" msprop:Generator_RelationVarName="relationFK_Country_Currency" msprop:Generator_UserChildTable="Country" msprop:Generator_UserParentTable="Currency" msprop:Generator_ParentPropName="CurrencyRow" msprop:Generator_ChildPropName="GetCountryRows" />
      <msdata:Relationship name="FK_Country_Origin" msdata:parent="Origin" msdata:child="Country" msdata:parentkey="OriginId" msdata:childkey="OriginId" msprop:Generator_UserRelationName="FK_Country_Origin" msprop:Generator_RelationVarName="relationFK_Country_Origin" msprop:Generator_UserChildTable="Country" msprop:Generator_UserParentTable="Origin" msprop:Generator_ParentPropName="OriginRow" msprop:Generator_ChildPropName="GetCountryRows" />
      <msdata:Relationship name="FK_CurrencyRate_Currency_FromCurrencyCode" msdata:parent="Currency" msdata:child="CurrencyRate" msdata:parentkey="CurrencyCode" msdata:childkey="FromCurrencyCode" msprop:Generator_UserRelationName="FK_CurrencyRate_Currency_FromCurrencyCode" msprop:Generator_RelationVarName="relationFK_CurrencyRate_Currency_FromCurrencyCode" msprop:Generator_UserChildTable="CurrencyRate" msprop:Generator_UserParentTable="Currency" msprop:Generator_ParentPropName="CurrencyRowByFK_CurrencyRate_Currency_FromCurrencyCode" msprop:Generator_ChildPropName="GetCurrencyRateRowsByFK_CurrencyRate_Currency_FromCurrencyCode" />
      <msdata:Relationship name="FK_CurrencyRate_Currency_ToCurrencyCode" msdata:parent="Currency" msdata:child="CurrencyRate" msdata:parentkey="CurrencyCode" msdata:childkey="ToCurrencyCode" msprop:Generator_UserRelationName="FK_CurrencyRate_Currency_ToCurrencyCode" msprop:Generator_RelationVarName="relationFK_CurrencyRate_Currency_ToCurrencyCode" msprop:Generator_UserChildTable="CurrencyRate" msprop:Generator_UserParentTable="Currency" msprop:Generator_ParentPropName="CurrencyRowByFK_CurrencyRate_Currency_ToCurrencyCode" msprop:Generator_ChildPropName="GetCurrencyRateRowsByFK_CurrencyRate_Currency_ToCurrencyCode" />
      <msdata:Relationship name="FK_Customer_Country" msdata:parent="Country" msdata:child="Customer" msdata:parentkey="CountryCode" msdata:childkey="CountryCode" msprop:Generator_UserRelationName="FK_Customer_Country" msprop:Generator_RelationVarName="relationFK_Customer_Country" msprop:Generator_UserChildTable="Customer" msprop:Generator_UserParentTable="Country" msprop:Generator_ParentPropName="CountryRow" msprop:Generator_ChildPropName="GetCustomerRows" />
      <msdata:Relationship name="FK_Customer_PaymentTerm" msdata:parent="PaymentTerm" msdata:child="Customer" msdata:parentkey="PaymentTermId" msdata:childkey="PreferredPaymentTerm" msprop:Generator_UserRelationName="FK_Customer_PaymentTerm" msprop:Generator_RelationVarName="relationFK_Customer_PaymentTerm" msprop:Generator_UserChildTable="Customer" msprop:Generator_UserParentTable="PaymentTerm" msprop:Generator_ParentPropName="PaymentTermRow" msprop:Generator_ChildPropName="GetCustomerRows" />
      <msdata:Relationship name="FK_Customer_ShipMethod" msdata:parent="ShipMethod" msdata:child="Customer" msdata:parentkey="ShipMethodId" msdata:childkey="PreferredShipMethod" msprop:Generator_UserRelationName="FK_Customer_ShipMethod" msprop:Generator_RelationVarName="relationFK_Customer_ShipMethod" msprop:Generator_UserChildTable="Customer" msprop:Generator_UserParentTable="ShipMethod" msprop:Generator_ParentPropName="ShipMethodRow" msprop:Generator_ChildPropName="GetCustomerRows" />
      <msdata:Relationship name="FK_CustomerAddress_Address_AddressId" msdata:parent="Address" msdata:child="CustomerAddress" msdata:parentkey="AddressId" msdata:childkey="AddressId" msprop:Generator_UserRelationName="FK_CustomerAddress_Address_AddressId" msprop:Generator_RelationVarName="relationFK_CustomerAddress_Address_AddressId" msprop:Generator_UserChildTable="CustomerAddress" msprop:Generator_UserParentTable="Address" msprop:Generator_ParentPropName="AddressRow" msprop:Generator_ChildPropName="GetCustomerAddressRows" />
      <msdata:Relationship name="FK_CustomerAddress_AddressType_AddressTypeId" msdata:parent="AddressType" msdata:child="CustomerAddress" msdata:parentkey="AddressTypeId" msdata:childkey="AddressTypeId" msprop:Generator_UserRelationName="FK_CustomerAddress_AddressType_AddressTypeId" msprop:Generator_RelationVarName="relationFK_CustomerAddress_AddressType_AddressTypeId" msprop:Generator_UserChildTable="CustomerAddress" msprop:Generator_UserParentTable="AddressType" msprop:Generator_ParentPropName="AddressTypeRow" msprop:Generator_ChildPropName="GetCustomerAddressRows" />
      <msdata:Relationship name="FK_CustomerAddress_Customer_CustomerId" msdata:parent="Customer" msdata:child="CustomerAddress" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_CustomerAddress_Customer_CustomerId" msprop:Generator_RelationVarName="relationFK_CustomerAddress_Customer_CustomerId" msprop:Generator_UserChildTable="CustomerAddress" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetCustomerAddressRows" />
      <msdata:Relationship name="FK_CustomerBankAccount_BankAccount" msdata:parent="BankAccount" msdata:child="CustomerBankAccount" msdata:parentkey="BankAccountId" msdata:childkey="BankAccountId" msprop:Generator_UserRelationName="FK_CustomerBankAccount_BankAccount" msprop:Generator_RelationVarName="relationFK_CustomerBankAccount_BankAccount" msprop:Generator_UserChildTable="CustomerBankAccount" msprop:Generator_UserParentTable="BankAccount" msprop:Generator_ParentPropName="BankAccountRow" msprop:Generator_ChildPropName="GetCustomerBankAccountRows" />
      <msdata:Relationship name="FK_CustomerBankAccount_Customer" msdata:parent="Customer" msdata:child="CustomerBankAccount" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_CustomerBankAccount_Customer" msprop:Generator_RelationVarName="relationFK_CustomerBankAccount_Customer" msprop:Generator_UserChildTable="CustomerBankAccount" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetCustomerBankAccountRows" />
      <msdata:Relationship name="FK_CustomerBrand_Customer" msdata:parent="Customer" msdata:child="CustomerBrand" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_CustomerBrand_Customer" msprop:Generator_RelationVarName="relationFK_CustomerBrand_Customer" msprop:Generator_UserChildTable="CustomerBrand" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetCustomerBrandRows" />
      <msdata:Relationship name="FK_CustomerContact_Customer" msdata:parent="Customer" msdata:child="CustomerContact" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_CustomerContact_Customer" msprop:Generator_RelationVarName="relationFK_CustomerContact_Customer" msprop:Generator_UserChildTable="CustomerContact" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetCustomerContactRows" />
      <msdata:Relationship name="FK_StoreContact_Contact_ContactId" msdata:parent="Contact" msdata:child="CustomerContact" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_StoreContact_Contact_ContactId" msprop:Generator_RelationVarName="relationFK_StoreContact_Contact_ContactId" msprop:Generator_UserChildTable="CustomerContact" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetCustomerContactRows" />
      <msdata:Relationship name="FK_StoreContact_ContactType_ContactTypeId" msdata:parent="ContactType" msdata:child="CustomerContact" msdata:parentkey="ContactTypeId" msdata:childkey="ContactTypeId" msprop:Generator_UserRelationName="FK_StoreContact_ContactType_ContactTypeId" msprop:Generator_RelationVarName="relationFK_StoreContact_ContactType_ContactTypeId" msprop:Generator_UserChildTable="CustomerContact" msprop:Generator_UserParentTable="ContactType" msprop:Generator_ParentPropName="ContactTypeRow" msprop:Generator_ChildPropName="GetCustomerContactRows" />
      <msdata:Relationship name="FK_Employee_Contact_ContactId" msdata:parent="Contact" msdata:child="Employee" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_Employee_Contact_ContactId" msprop:Generator_RelationVarName="relationFK_Employee_Contact_ContactId" msprop:Generator_UserChildTable="Employee" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetEmployeeRows" />
      <msdata:Relationship name="FK_Employee_Department" msdata:parent="Department" msdata:child="Employee" msdata:parentkey="DepartmentId" msdata:childkey="DepartmentId" msprop:Generator_UserRelationName="FK_Employee_Department" msprop:Generator_RelationVarName="relationFK_Employee_Department" msprop:Generator_UserChildTable="Employee" msprop:Generator_UserParentTable="Department" msprop:Generator_ParentPropName="DepartmentRow" msprop:Generator_ChildPropName="GetEmployeeRows" />
      <msdata:Relationship name="FK_Employee_Employee_ManagerId" msdata:parent="Employee" msdata:child="Employee" msdata:parentkey="EmployeeId" msdata:childkey="ManagerId" msprop:Generator_UserRelationName="FK_Employee_Employee_ManagerId" msprop:Generator_RelationVarName="relationFK_Employee_Employee_ManagerId" msprop:Generator_UserChildTable="Employee" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRowParent" msprop:Generator_ChildPropName="GetEmployeeRows" />
      <msdata:Relationship name="FK_EmployeeAddress_Address_AddressId" msdata:parent="Address" msdata:child="EmployeeAddress" msdata:parentkey="AddressId" msdata:childkey="AddressId" msprop:Generator_UserRelationName="FK_EmployeeAddress_Address_AddressId" msprop:Generator_RelationVarName="relationFK_EmployeeAddress_Address_AddressId" msprop:Generator_UserChildTable="EmployeeAddress" msprop:Generator_UserParentTable="Address" msprop:Generator_ParentPropName="AddressRow" msprop:Generator_ChildPropName="GetEmployeeAddressRows" />
      <msdata:Relationship name="FK_EmployeeAddress_Employee_EmployeeId" msdata:parent="Employee" msdata:child="EmployeeAddress" msdata:parentkey="EmployeeId" msdata:childkey="EmployeeId" msprop:Generator_UserRelationName="FK_EmployeeAddress_Employee_EmployeeId" msprop:Generator_RelationVarName="relationFK_EmployeeAddress_Employee_EmployeeId" msprop:Generator_UserChildTable="EmployeeAddress" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRow" msprop:Generator_ChildPropName="GetEmployeeAddressRows" />
      <msdata:Relationship name="FK_Cost_Origin" msdata:parent="Origin" msdata:child="ExpenseMatrix" msdata:parentkey="OriginId" msdata:childkey="OriginId" msprop:Generator_UserRelationName="FK_Cost_Origin" msprop:Generator_RelationVarName="relationFK_Cost_Origin" msprop:Generator_UserChildTable="ExpenseMatrix" msprop:Generator_UserParentTable="Origin" msprop:Generator_ParentPropName="OriginRow" msprop:Generator_ChildPropName="GetExpenseMatrixRows" />
      <msdata:Relationship name="FK_ExpenseMatrix_DeliveryTerm" msdata:parent="DeliveryTerm" msdata:child="ExpenseMatrix" msdata:parentkey="DeliveryTermId" msdata:childkey="DeliveryTermId" msprop:Generator_UserRelationName="FK_ExpenseMatrix_DeliveryTerm" msprop:Generator_RelationVarName="relationFK_ExpenseMatrix_DeliveryTerm" msprop:Generator_UserChildTable="ExpenseMatrix" msprop:Generator_UserParentTable="DeliveryTerm" msprop:Generator_ParentPropName="DeliveryTermRow" msprop:Generator_ChildPropName="GetExpenseMatrixRows" />
      <msdata:Relationship name="FK_Belge_AlisSekli" msdata:parent="AlisSekli" msdata:child="Fatura" msdata:parentkey="AlisSekliId" msdata:childkey="AlisSekliId" msprop:Generator_UserRelationName="FK_Belge_AlisSekli" msprop:Generator_RelationVarName="relationFK_Belge_AlisSekli" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="AlisSekli" msprop:Generator_ParentPropName="AlisSekliRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Belge_BelgeTipi" msdata:parent="BelgeTipi" msdata:child="Fatura" msdata:parentkey="BelgeTipiId" msdata:childkey="BelgeTipiId" msprop:Generator_UserRelationName="FK_Belge_BelgeTipi" msprop:Generator_RelationVarName="relationFK_Belge_BelgeTipi" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="BelgeTipi" msprop:Generator_ParentPropName="BelgeTipiRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Belge_Courier" msdata:parent="Carrier" msdata:child="Fatura" msdata:parentkey="CarrierId" msdata:childkey="CarrierId" msprop:Generator_UserRelationName="FK_Belge_Courier" msprop:Generator_RelationVarName="relationFK_Belge_Courier" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="Carrier" msprop:Generator_ParentPropName="CarrierRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Belge_DeliveryTerm" msdata:parent="DeliveryTerm" msdata:child="Fatura" msdata:parentkey="DeliveryTermId" msdata:childkey="DeliveryTermId" msprop:Generator_UserRelationName="FK_Belge_DeliveryTerm" msprop:Generator_RelationVarName="relationFK_Belge_DeliveryTerm" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="DeliveryTerm" msprop:Generator_ParentPropName="DeliveryTermRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Belge_ExpensePercentage" msdata:parent="ExpensePercentage" msdata:child="Fatura" msdata:parentkey="ExpensePercentageId" msdata:childkey="ExpensePercentageId" msprop:Generator_UserRelationName="FK_Belge_ExpensePercentage" msprop:Generator_RelationVarName="relationFK_Belge_ExpensePercentage" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="ExpensePercentage" msprop:Generator_ParentPropName="ExpensePercentageRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Belge_PaymentTerm" msdata:parent="PaymentTerm" msdata:child="Fatura" msdata:parentkey="PaymentTermId" msdata:childkey="PaymentTermId" msprop:Generator_UserRelationName="FK_Belge_PaymentTerm" msprop:Generator_RelationVarName="relationFK_Belge_PaymentTerm" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="PaymentTerm" msprop:Generator_ParentPropName="PaymentTermRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Belge_Vendor" msdata:parent="Vendor" msdata:child="Fatura" msdata:parentkey="VendorId" msdata:childkey="VendorId" msprop:Generator_UserRelationName="FK_Belge_Vendor" msprop:Generator_RelationVarName="relationFK_Belge_Vendor" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="Vendor" msprop:Generator_ParentPropName="VendorRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Fatura_Currency" msdata:parent="Currency" msdata:child="Fatura" msdata:parentkey="CurrencyCode" msdata:childkey="CurrencyCode" msprop:Generator_UserRelationName="FK_Fatura_Currency" msprop:Generator_RelationVarName="relationFK_Fatura_Currency" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="Currency" msprop:Generator_ParentPropName="CurrencyRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Fatura_Customer" msdata:parent="Customer" msdata:child="Fatura" msdata:parentkey="CustomerId" msdata:childkey="OwnerId" msprop:Generator_UserRelationName="FK_Fatura_Customer" msprop:Generator_RelationVarName="relationFK_Fatura_Customer" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_Fatura_PurchaseOrderHeader" msdata:parent="PurchaseOrderHeader" msdata:child="Fatura" msdata:parentkey="PurchaseOrderId" msdata:childkey="PurchaseOrderId" msprop:Generator_UserRelationName="FK_Fatura_PurchaseOrderHeader" msprop:Generator_RelationVarName="relationFK_Fatura_PurchaseOrderHeader" msprop:Generator_UserChildTable="Fatura" msprop:Generator_UserParentTable="PurchaseOrderHeader" msprop:Generator_ParentPropName="PurchaseOrderHeaderRow" msprop:Generator_ChildPropName="GetFaturaRows" />
      <msdata:Relationship name="FK_BelgeDetay_Stok" msdata:parent="Product" msdata:child="FaturaDetay" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_BelgeDetay_Stok" msprop:Generator_RelationVarName="relationFK_BelgeDetay_Stok" msprop:Generator_UserChildTable="FaturaDetay" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetFaturaDetayRows" />
      <msdata:Relationship name="FK_FaturaDetay_Customer" msdata:parent="Customer" msdata:child="FaturaDetay" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_FaturaDetay_Customer" msprop:Generator_RelationVarName="relationFK_FaturaDetay_Customer" msprop:Generator_UserChildTable="FaturaDetay" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetFaturaDetayRows" />
      <msdata:Relationship name="FK_FaturaDetay_Fatura" msdata:parent="Fatura" msdata:child="FaturaDetay" msdata:parentkey="FaturaId" msdata:childkey="FaturaId" msprop:Generator_UserRelationName="FK_FaturaDetay_Fatura" msprop:Generator_RelationVarName="relationFK_FaturaDetay_Fatura" msprop:Generator_UserChildTable="FaturaDetay" msprop:Generator_UserParentTable="Fatura" msprop:Generator_ParentPropName="FaturaRow" msprop:Generator_ChildPropName="GetFaturaDetayRows" />
      <msdata:Relationship name="FK_FeatureAksesuar_Stok" msdata:parent="Product" msdata:child="FeatureAksesuar" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_FeatureAksesuar_Stok" msprop:Generator_RelationVarName="relationFK_FeatureAksesuar_Stok" msprop:Generator_UserChildTable="FeatureAksesuar" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetFeatureAksesuarRows" />
      <msdata:Relationship name="FK_FeatureAksesuar_UnitMeasure" msdata:parent="UnitMeasure" msdata:child="FeatureAksesuar" msdata:parentkey="UnitMeasureId" msdata:childkey="UnitMeasureId" msprop:Generator_UserRelationName="FK_FeatureAksesuar_UnitMeasure" msprop:Generator_RelationVarName="relationFK_FeatureAksesuar_UnitMeasure" msprop:Generator_UserChildTable="FeatureAksesuar" msprop:Generator_UserParentTable="UnitMeasure" msprop:Generator_ParentPropName="UnitMeasureRow" msprop:Generator_ChildPropName="GetFeatureAksesuarRows" />
      <msdata:Relationship name="FK_FeatureKumas_BelgeDetay" msdata:parent="FaturaDetay" msdata:child="FeatureKumas" msdata:parentkey="FaturaDetayId" msdata:childkey="FaturaDetayId" msprop:Generator_UserRelationName="FK_FeatureKumas_BelgeDetay" msprop:Generator_RelationVarName="relationFK_FeatureKumas_BelgeDetay" msprop:Generator_UserChildTable="FeatureKumas" msprop:Generator_UserParentTable="FaturaDetay" msprop:Generator_ParentPropName="FaturaDetayRow" msprop:Generator_ChildPropName="GetFeatureKumasRows" />
      <msdata:Relationship name="FK_Hareket_Belge" msdata:parent="Fatura" msdata:child="Hareket" msdata:parentkey="FaturaId" msdata:childkey="FaturaId" msprop:Generator_UserRelationName="FK_Hareket_Belge" msprop:Generator_RelationVarName="relationFK_Hareket_Belge" msprop:Generator_UserChildTable="Hareket" msprop:Generator_UserParentTable="Fatura" msprop:Generator_ParentPropName="FaturaRow" msprop:Generator_ChildPropName="GetHareketRows" />
      <msdata:Relationship name="FK_Hareket_HareketTipi" msdata:parent="HareketTipi" msdata:child="Hareket" msdata:parentkey="HareketTipiId" msdata:childkey="HareketTipiId" msprop:Generator_UserRelationName="FK_Hareket_HareketTipi" msprop:Generator_RelationVarName="relationFK_Hareket_HareketTipi" msprop:Generator_UserChildTable="Hareket" msprop:Generator_UserParentTable="HareketTipi" msprop:Generator_ParentPropName="HareketTipiRow" msprop:Generator_ChildPropName="GetHareketRows" />
      <msdata:Relationship name="FK_Hareket_SalesOrderHeader" msdata:parent="SalesOrderHeader" msdata:child="Hareket" msdata:parentkey="SalesOrderId" msdata:childkey="SalesOrderId" msprop:Generator_UserRelationName="FK_Hareket_SalesOrderHeader" msprop:Generator_RelationVarName="relationFK_Hareket_SalesOrderHeader" msprop:Generator_UserChildTable="Hareket" msprop:Generator_UserParentTable="SalesOrderHeader" msprop:Generator_ParentPropName="SalesOrderHeaderRow" msprop:Generator_ChildPropName="GetHareketRows" />
      <msdata:Relationship name="FK_HareketDetay_BelgeDetay" msdata:parent="FaturaDetay" msdata:child="HareketDetay" msdata:parentkey="FaturaDetayId" msdata:childkey="FaturaDetayId" msprop:Generator_UserRelationName="FK_HareketDetay_BelgeDetay" msprop:Generator_RelationVarName="relationFK_HareketDetay_BelgeDetay" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="FaturaDetay" msprop:Generator_ParentPropName="FaturaDetayRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetay_Customer" msdata:parent="Customer" msdata:child="HareketDetay" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_HareketDetay_Customer" msprop:Generator_RelationVarName="relationFK_HareketDetay_Customer" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetay_Employee" msdata:parent="Employee" msdata:child="HareketDetay" msdata:parentkey="EmployeeId" msdata:childkey="DepoGorevlisi" msprop:Generator_UserRelationName="FK_HareketDetay_Employee" msprop:Generator_RelationVarName="relationFK_HareketDetay_Employee" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetay_Hareket" msdata:parent="Hareket" msdata:child="HareketDetay" msdata:parentkey="HareketId" msdata:childkey="HareketId" msprop:Generator_UserRelationName="FK_HareketDetay_Hareket" msprop:Generator_RelationVarName="relationFK_HareketDetay_Hareket" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="Hareket" msprop:Generator_ParentPropName="HareketRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetay_Stok" msdata:parent="Product" msdata:child="HareketDetay" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_HareketDetay_Stok" msprop:Generator_RelationVarName="relationFK_HareketDetay_Stok" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetayTop_Customer" msdata:parent="Customer" msdata:child="HareketDetayTop" msdata:parentkey="CustomerId" msdata:childkey="MDepoId" msprop:Generator_UserRelationName="FK_HareketDetayTop_Customer" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_Customer" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_HareketDetayTop_HareketDetay" msdata:parent="HareketDetay" msdata:child="HareketDetayTop" msdata:parentkey="HareketDetayId" msdata:childkey="HareketDetayId" msprop:Generator_UserRelationName="FK_HareketDetayTop_HareketDetay" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_HareketDetay" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="HareketDetay" msprop:Generator_ParentPropName="HareketDetayRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_HareketDetayTop_Location" msdata:parent="Location" msdata:child="HareketDetayTop" msdata:parentkey="LocationId" msdata:childkey="LocationId" msprop:Generator_UserRelationName="FK_HareketDetayTop_Location" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_Location" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="Location" msprop:Generator_ParentPropName="LocationRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_HareketDetayTop_Raf" msdata:parent="Shelf" msdata:child="HareketDetayTop" msdata:parentkey="ShelfId" msdata:childkey="ShelfId" msprop:Generator_UserRelationName="FK_HareketDetayTop_Raf" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_Raf" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="Shelf" msprop:Generator_ParentPropName="ShelfRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_HareketDetayTop_Stok" msdata:parent="Product" msdata:child="HareketDetayTop" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_HareketDetayTop_Stok" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_Stok" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_HareketDetayTop_Top" msdata:parent="Roll" msdata:child="HareketDetayTop" msdata:parentkey="TopId" msdata:childkey="TopId" msprop:Generator_UserRelationName="FK_HareketDetayTop_Top" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_Top" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="Roll" msprop:Generator_ParentPropName="RollRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_Inventory_Location" msdata:parent="Location" msdata:child="Inventory" msdata:parentkey="LocationId" msdata:childkey="LocationId" msprop:Generator_UserRelationName="FK_Inventory_Location" msprop:Generator_RelationVarName="relationFK_Inventory_Location" msprop:Generator_UserChildTable="Inventory" msprop:Generator_UserParentTable="Location" msprop:Generator_ParentPropName="LocationRow" msprop:Generator_ChildPropName="GetInventoryRows" />
      <msdata:Relationship name="FK_Inventory_Product" msdata:parent="Product" msdata:child="Inventory" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_Inventory_Product" msprop:Generator_RelationVarName="relationFK_Inventory_Product" msprop:Generator_UserChildTable="Inventory" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetInventoryRows" />
      <msdata:Relationship name="FK_Inventory_Roll" msdata:parent="Roll" msdata:child="Inventory" msdata:parentkey="TopId" msdata:childkey="TopId" msprop:Generator_UserRelationName="FK_Inventory_Roll" msprop:Generator_RelationVarName="relationFK_Inventory_Roll" msprop:Generator_UserChildTable="Inventory" msprop:Generator_UserParentTable="Roll" msprop:Generator_ParentPropName="RollRow" msprop:Generator_ChildPropName="GetInventoryRows" />
      <msdata:Relationship name="FK_Inventory_Shelf" msdata:parent="Shelf" msdata:child="Inventory" msdata:parentkey="ShelfId" msdata:childkey="ShelfId" msprop:Generator_UserRelationName="FK_Inventory_Shelf" msprop:Generator_RelationVarName="relationFK_Inventory_Shelf" msprop:Generator_UserChildTable="Inventory" msprop:Generator_UserParentTable="Shelf" msprop:Generator_ParentPropName="ShelfRow" msprop:Generator_ChildPropName="GetInventoryRows" />
      <msdata:Relationship name="FK_Product_ProductModel_ProductModelId" msdata:parent="ProductModel" msdata:child="Product" msdata:parentkey="ProductModelId" msdata:childkey="ProductModelId" msprop:Generator_UserRelationName="FK_Product_ProductModel_ProductModelId" msprop:Generator_RelationVarName="relationFK_Product_ProductModel_ProductModelId" msprop:Generator_UserChildTable="Product" msprop:Generator_UserParentTable="ProductModel" msprop:Generator_ParentPropName="ProductModelRow" msprop:Generator_ChildPropName="GetProductRows" />
      <msdata:Relationship name="FK_Product_ProductSubcategory_ProductSubcategoryId" msdata:parent="ProductSubcategory" msdata:child="Product" msdata:parentkey="ProductSubcategoryId" msdata:childkey="ProductSubcategoryId" msprop:Generator_UserRelationName="FK_Product_ProductSubcategory_ProductSubcategoryId" msprop:Generator_RelationVarName="relationFK_Product_ProductSubcategory_ProductSubcategoryId" msprop:Generator_UserChildTable="Product" msprop:Generator_UserParentTable="ProductSubcategory" msprop:Generator_ParentPropName="ProductSubcategoryRow" msprop:Generator_ChildPropName="GetProductRows" />
      <msdata:Relationship name="FK_Stok_StokkoduTipi" msdata:parent="StokkoduTipi" msdata:child="Product" msdata:parentkey="StokkoduTipiId" msdata:childkey="StokKoduTipiId" msprop:Generator_UserRelationName="FK_Stok_StokkoduTipi" msprop:Generator_RelationVarName="relationFK_Stok_StokkoduTipi" msprop:Generator_UserChildTable="Product" msprop:Generator_UserParentTable="StokkoduTipi" msprop:Generator_ParentPropName="StokkoduTipiRow" msprop:Generator_ChildPropName="GetProductRows" />
      <msdata:Relationship name="FK_ProductCostHistory_Product_ProductId" msdata:parent="Product" msdata:child="ProductCostHistory" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_ProductCostHistory_Product_ProductId" msprop:Generator_RelationVarName="relationFK_ProductCostHistory_Product_ProductId" msprop:Generator_UserChildTable="ProductCostHistory" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetProductCostHistoryRows" />
      <msdata:Relationship name="FK_ProductDocument_Document_DocumentId" msdata:parent="Document" msdata:child="ProductDocument" msdata:parentkey="DocumentId" msdata:childkey="DocumentId" msprop:Generator_UserRelationName="FK_ProductDocument_Document_DocumentId" msprop:Generator_RelationVarName="relationFK_ProductDocument_Document_DocumentId" msprop:Generator_UserChildTable="ProductDocument" msprop:Generator_UserParentTable="Document" msprop:Generator_ParentPropName="DocumentRow" msprop:Generator_ChildPropName="GetProductDocumentRows" />
      <msdata:Relationship name="FK_ProductDocument_Product_ProductId" msdata:parent="Product" msdata:child="ProductDocument" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_ProductDocument_Product_ProductId" msprop:Generator_RelationVarName="relationFK_ProductDocument_Product_ProductId" msprop:Generator_UserChildTable="ProductDocument" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetProductDocumentRows" />
      <msdata:Relationship name="FK_ProductListPriceHistory_Product_ProductId" msdata:parent="Product" msdata:child="ProductListPriceHistory" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_ProductListPriceHistory_Product_ProductId" msprop:Generator_RelationVarName="relationFK_ProductListPriceHistory_Product_ProductId" msprop:Generator_UserChildTable="ProductListPriceHistory" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetProductListPriceHistoryRows" />
      <msdata:Relationship name="FK_ProductModelProductDescriptionCulture_Culture_CultureId" msdata:parent="Culture" msdata:child="ProductModelProductDescriptionCulture" msdata:parentkey="CultureId" msdata:childkey="CultureId" msprop:Generator_UserRelationName="FK_ProductModelProductDescriptionCulture_Culture_CultureId" msprop:Generator_RelationVarName="relationFK_ProductModelProductDescriptionCulture_Culture_CultureId" msprop:Generator_UserChildTable="ProductModelProductDescriptionCulture" msprop:Generator_UserParentTable="Culture" msprop:Generator_ParentPropName="CultureRow" msprop:Generator_ChildPropName="GetProductModelProductDescriptionCultureRows" />
      <msdata:Relationship name="FK_ProductModelProductDescriptionCulture_ProductDescription_ProductDescriptionId" msdata:parent="ProductDescription" msdata:child="ProductModelProductDescriptionCulture" msdata:parentkey="ProductDescriptionId" msdata:childkey="ProductDescriptionId" msprop:Generator_UserRelationName="FK_ProductModelProductDescriptionCulture_ProductDescription_ProductDescriptionId" msprop:Generator_RelationVarName="relationFK_ProductModelProductDescriptionCulture_ProductDescription_ProductDescriptionId" msprop:Generator_UserChildTable="ProductModelProductDescriptionCulture" msprop:Generator_UserParentTable="ProductDescription" msprop:Generator_ParentPropName="ProductDescriptionRow" msprop:Generator_ChildPropName="GetProductModelProductDescriptionCultureRows" />
      <msdata:Relationship name="FK_ProductModelProductDescriptionCulture_ProductModel_ProductModelId" msdata:parent="ProductModel" msdata:child="ProductModelProductDescriptionCulture" msdata:parentkey="ProductModelId" msdata:childkey="ProductModelId" msprop:Generator_UserRelationName="FK_ProductModelProductDescriptionCulture_ProductModel_ProductModelId" msprop:Generator_RelationVarName="relationFK_ProductModelProductDescriptionCulture_ProductModel_ProductModelId" msprop:Generator_UserChildTable="ProductModelProductDescriptionCulture" msprop:Generator_UserParentTable="ProductModel" msprop:Generator_ParentPropName="ProductModelRow" msprop:Generator_ChildPropName="GetProductModelProductDescriptionCultureRows" />
      <msdata:Relationship name="FK_ProductProductPhoto_Product_ProductId" msdata:parent="Product" msdata:child="ProductPhoto" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_ProductProductPhoto_Product_ProductId" msprop:Generator_RelationVarName="relationFK_ProductProductPhoto_Product_ProductId" msprop:Generator_UserChildTable="ProductPhoto" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetProductPhotoRows" />
      <msdata:Relationship name="FK_ProductSubcategory_ProductCategory_ProductCategoryId" msdata:parent="ProductCategory" msdata:child="ProductSubcategory" msdata:parentkey="ProductCategoryId" msdata:childkey="ProductCategoryId" msprop:Generator_UserRelationName="FK_ProductSubcategory_ProductCategory_ProductCategoryId" msprop:Generator_RelationVarName="relationFK_ProductSubcategory_ProductCategory_ProductCategoryId" msprop:Generator_UserChildTable="ProductSubcategory" msprop:Generator_UserParentTable="ProductCategory" msprop:Generator_ParentPropName="ProductCategoryRow" msprop:Generator_ChildPropName="GetProductSubcategoryRows" />
      <msdata:Relationship name="FK_ProductVendor_Product_ProductId" msdata:parent="Product" msdata:child="ProductVendor" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_ProductVendor_Product_ProductId" msprop:Generator_RelationVarName="relationFK_ProductVendor_Product_ProductId" msprop:Generator_UserChildTable="ProductVendor" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetProductVendorRows" />
      <msdata:Relationship name="FK_ProductVendor_UnitMeasure_UnitMeasureCode" msdata:parent="UnitMeasure" msdata:child="ProductVendor" msdata:parentkey="UnitMeasureId" msdata:childkey="UnitMeasureId" msprop:Generator_UserRelationName="FK_ProductVendor_UnitMeasure_UnitMeasureCode" msprop:Generator_RelationVarName="relationFK_ProductVendor_UnitMeasure_UnitMeasureCode" msprop:Generator_UserChildTable="ProductVendor" msprop:Generator_UserParentTable="UnitMeasure" msprop:Generator_ParentPropName="UnitMeasureRow" msprop:Generator_ChildPropName="GetProductVendorRows" />
      <msdata:Relationship name="FK_ProductVendor_Vendor_VendorId" msdata:parent="Vendor" msdata:child="ProductVendor" msdata:parentkey="VendorId" msdata:childkey="VendorId" msprop:Generator_UserRelationName="FK_ProductVendor_Vendor_VendorId" msprop:Generator_RelationVarName="relationFK_ProductVendor_Vendor_VendorId" msprop:Generator_UserChildTable="ProductVendor" msprop:Generator_UserParentTable="Vendor" msprop:Generator_ParentPropName="VendorRow" msprop:Generator_ChildPropName="GetProductVendorRows" />
      <msdata:Relationship name="FK_PurchaseOrderDetail_Product_ProductId" msdata:parent="Product" msdata:child="PurchaseOrderDetail" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_PurchaseOrderDetail_Product_ProductId" msprop:Generator_RelationVarName="relationFK_PurchaseOrderDetail_Product_ProductId" msprop:Generator_UserChildTable="PurchaseOrderDetail" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetPurchaseOrderDetailRows" />
      <msdata:Relationship name="FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderId" msdata:parent="PurchaseOrderHeader" msdata:child="PurchaseOrderDetail" msdata:parentkey="PurchaseOrderId" msdata:childkey="PurchaseOrderId" msprop:Generator_UserRelationName="FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderId" msprop:Generator_RelationVarName="relationFK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderId" msprop:Generator_UserChildTable="PurchaseOrderDetail" msprop:Generator_UserParentTable="PurchaseOrderHeader" msprop:Generator_ParentPropName="PurchaseOrderHeaderRow" msprop:Generator_ChildPropName="GetPurchaseOrderDetailRows" />
      <msdata:Relationship name="FK_PurchaseOrderHeader_Employee_EmployeeId" msdata:parent="Employee" msdata:child="PurchaseOrderHeader" msdata:parentkey="EmployeeId" msdata:childkey="EmployeeId" msprop:Generator_UserRelationName="FK_PurchaseOrderHeader_Employee_EmployeeId" msprop:Generator_RelationVarName="relationFK_PurchaseOrderHeader_Employee_EmployeeId" msprop:Generator_UserChildTable="PurchaseOrderHeader" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRow" msprop:Generator_ChildPropName="GetPurchaseOrderHeaderRows" />
      <msdata:Relationship name="FK_PurchaseOrderHeader_ShipMethod_ShipMethodId" msdata:parent="ShipMethod" msdata:child="PurchaseOrderHeader" msdata:parentkey="ShipMethodId" msdata:childkey="ShipMethodId" msprop:Generator_UserRelationName="FK_PurchaseOrderHeader_ShipMethod_ShipMethodId" msprop:Generator_RelationVarName="relationFK_PurchaseOrderHeader_ShipMethod_ShipMethodId" msprop:Generator_UserChildTable="PurchaseOrderHeader" msprop:Generator_UserParentTable="ShipMethod" msprop:Generator_ParentPropName="ShipMethodRow" msprop:Generator_ChildPropName="GetPurchaseOrderHeaderRows" />
      <msdata:Relationship name="FK_PurchaseOrderHeader_Vendor_VendorId" msdata:parent="Vendor" msdata:child="PurchaseOrderHeader" msdata:parentkey="VendorId" msdata:childkey="VendorId" msprop:Generator_UserRelationName="FK_PurchaseOrderHeader_Vendor_VendorId" msprop:Generator_RelationVarName="relationFK_PurchaseOrderHeader_Vendor_VendorId" msprop:Generator_UserChildTable="PurchaseOrderHeader" msprop:Generator_UserParentTable="Vendor" msprop:Generator_ParentPropName="VendorRow" msprop:Generator_ChildPropName="GetPurchaseOrderHeaderRows" />
      <msdata:Relationship name="FK_Top_BelgeDetay" msdata:parent="FaturaDetay" msdata:child="Roll" msdata:parentkey="FaturaDetayId" msdata:childkey="FaturaDetayId" msprop:Generator_UserRelationName="FK_Top_BelgeDetay" msprop:Generator_RelationVarName="relationFK_Top_BelgeDetay" msprop:Generator_UserChildTable="Roll" msprop:Generator_UserParentTable="FaturaDetay" msprop:Generator_ParentPropName="FaturaDetayRow" msprop:Generator_ChildPropName="GetRollRows" />
      <msdata:Relationship name="FK_SalesAgent_Contact" msdata:parent="Contact" msdata:child="SalesAgent" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_SalesAgent_Contact" msprop:Generator_RelationVarName="relationFK_SalesAgent_Contact" msprop:Generator_UserChildTable="SalesAgent" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetSalesAgentRows" />
      <msdata:Relationship name="FK_SalesAgentAddress_Address" msdata:parent="Address" msdata:child="SalesAgentAddress" msdata:parentkey="AddressId" msdata:childkey="AddressId" msprop:Generator_UserRelationName="FK_SalesAgentAddress_Address" msprop:Generator_RelationVarName="relationFK_SalesAgentAddress_Address" msprop:Generator_UserChildTable="SalesAgentAddress" msprop:Generator_UserParentTable="Address" msprop:Generator_ParentPropName="AddressRow" msprop:Generator_ChildPropName="GetSalesAgentAddressRows" />
      <msdata:Relationship name="FK_SalesAgentAddress_SalesAgent" msdata:parent="SalesAgent" msdata:child="SalesAgentAddress" msdata:parentkey="SalesAgentId" msdata:childkey="SalesAgentId" msprop:Generator_UserRelationName="FK_SalesAgentAddress_SalesAgent" msprop:Generator_RelationVarName="relationFK_SalesAgentAddress_SalesAgent" msprop:Generator_UserChildTable="SalesAgentAddress" msprop:Generator_UserParentTable="SalesAgent" msprop:Generator_ParentPropName="SalesAgentRow" msprop:Generator_ChildPropName="GetSalesAgentAddressRows" />
      <msdata:Relationship name="FK_SalesAgentBankAccount_BankAccount" msdata:parent="BankAccount" msdata:child="SalesAgentBankAccount" msdata:parentkey="BankAccountId" msdata:childkey="BankAccountId" msprop:Generator_UserRelationName="FK_SalesAgentBankAccount_BankAccount" msprop:Generator_RelationVarName="relationFK_SalesAgentBankAccount_BankAccount" msprop:Generator_UserChildTable="SalesAgentBankAccount" msprop:Generator_UserParentTable="BankAccount" msprop:Generator_ParentPropName="BankAccountRow" msprop:Generator_ChildPropName="GetSalesAgentBankAccountRows" />
      <msdata:Relationship name="FK_SalesAgentBankAccount_SalesAgent" msdata:parent="SalesAgent" msdata:child="SalesAgentBankAccount" msdata:parentkey="SalesAgentId" msdata:childkey="SalesAgentId" msprop:Generator_UserRelationName="FK_SalesAgentBankAccount_SalesAgent" msprop:Generator_RelationVarName="relationFK_SalesAgentBankAccount_SalesAgent" msprop:Generator_UserChildTable="SalesAgentBankAccount" msprop:Generator_UserParentTable="SalesAgent" msprop:Generator_ParentPropName="SalesAgentRow" msprop:Generator_ChildPropName="GetSalesAgentBankAccountRows" />
      <msdata:Relationship name="FK_SalesAgentCustomer_Customer" msdata:parent="Customer" msdata:child="SalesAgentCustomer" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_SalesAgentCustomer_Customer" msprop:Generator_RelationVarName="relationFK_SalesAgentCustomer_Customer" msprop:Generator_UserChildTable="SalesAgentCustomer" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetSalesAgentCustomerRows" />
      <msdata:Relationship name="FK_SalesAgentCustomer_PaymentTerm" msdata:parent="PaymentTerm" msdata:child="SalesAgentCustomer" msdata:parentkey="PaymentTermId" msdata:childkey="PreferredPaymentTerm" msprop:Generator_UserRelationName="FK_SalesAgentCustomer_PaymentTerm" msprop:Generator_RelationVarName="relationFK_SalesAgentCustomer_PaymentTerm" msprop:Generator_UserChildTable="SalesAgentCustomer" msprop:Generator_UserParentTable="PaymentTerm" msprop:Generator_ParentPropName="PaymentTermRow" msprop:Generator_ChildPropName="GetSalesAgentCustomerRows" />
      <msdata:Relationship name="FK_SalesAgentCustomer_SalesAgent" msdata:parent="SalesAgent" msdata:child="SalesAgentCustomer" msdata:parentkey="SalesAgentId" msdata:childkey="SalesAgentId" msprop:Generator_UserRelationName="FK_SalesAgentCustomer_SalesAgent" msprop:Generator_RelationVarName="relationFK_SalesAgentCustomer_SalesAgent" msprop:Generator_UserChildTable="SalesAgentCustomer" msprop:Generator_UserParentTable="SalesAgent" msprop:Generator_ParentPropName="SalesAgentRow" msprop:Generator_ChildPropName="GetSalesAgentCustomerRows" />
      <msdata:Relationship name="FK_SalesAgentPayment_PaymentTerm" msdata:parent="PaymentTerm" msdata:child="SalesAgentPayment" msdata:parentkey="PaymentTermId" msdata:childkey="PaymentTermId" msprop:Generator_UserRelationName="FK_SalesAgentPayment_PaymentTerm" msprop:Generator_RelationVarName="relationFK_SalesAgentPayment_PaymentTerm" msprop:Generator_UserChildTable="SalesAgentPayment" msprop:Generator_UserParentTable="PaymentTerm" msprop:Generator_ParentPropName="PaymentTermRow" msprop:Generator_ChildPropName="GetSalesAgentPaymentRows" />
      <msdata:Relationship name="FK_SalesAgentPayment_SalesAgent" msdata:parent="SalesAgent" msdata:child="SalesAgentPayment" msdata:parentkey="SalesAgentId" msdata:childkey="SalesAgentId" msprop:Generator_UserRelationName="FK_SalesAgentPayment_SalesAgent" msprop:Generator_RelationVarName="relationFK_SalesAgentPayment_SalesAgent" msprop:Generator_UserChildTable="SalesAgentPayment" msprop:Generator_UserParentTable="SalesAgent" msprop:Generator_ParentPropName="SalesAgentRow" msprop:Generator_ChildPropName="GetSalesAgentPaymentRows" />
      <msdata:Relationship name="FK_SalesAgentCommission_SalesAgent" msdata:parent="SalesAgent" msdata:child="SalesAgentSales" msdata:parentkey="SalesAgentId" msdata:childkey="SalesAgentId" msprop:Generator_UserRelationName="FK_SalesAgentCommission_SalesAgent" msprop:Generator_RelationVarName="relationFK_SalesAgentCommission_SalesAgent" msprop:Generator_UserChildTable="SalesAgentSales" msprop:Generator_UserParentTable="SalesAgent" msprop:Generator_ParentPropName="SalesAgentRow" msprop:Generator_ChildPropName="GetSalesAgentSalesRows" />
      <msdata:Relationship name="FK_SalesAgentSales_CurrencyRate" msdata:parent="CurrencyRate" msdata:child="SalesAgentSales" msdata:parentkey="CurrencyRateId" msdata:childkey="CurrencyRateId" msprop:Generator_UserRelationName="FK_SalesAgentSales_CurrencyRate" msprop:Generator_RelationVarName="relationFK_SalesAgentSales_CurrencyRate" msprop:Generator_UserChildTable="SalesAgentSales" msprop:Generator_UserParentTable="CurrencyRate" msprop:Generator_ParentPropName="CurrencyRateRow" msprop:Generator_ChildPropName="GetSalesAgentSalesRows" />
      <msdata:Relationship name="FK_SalesAgentSales_SalesOrderHeader" msdata:parent="SalesOrderHeader" msdata:child="SalesAgentSales" msdata:parentkey="SalesOrderId" msdata:childkey="SalesOrderId" msprop:Generator_UserRelationName="FK_SalesAgentSales_SalesOrderHeader" msprop:Generator_RelationVarName="relationFK_SalesAgentSales_SalesOrderHeader" msprop:Generator_UserChildTable="SalesAgentSales" msprop:Generator_UserParentTable="SalesOrderHeader" msprop:Generator_ParentPropName="SalesOrderHeaderRow" msprop:Generator_ChildPropName="GetSalesAgentSalesRows" />
      <msdata:Relationship name="FK_SalesOrderDetail_Product" msdata:parent="Product" msdata:child="SalesOrderDetail" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_SalesOrderDetail_Product" msprop:Generator_RelationVarName="relationFK_SalesOrderDetail_Product" msprop:Generator_UserChildTable="SalesOrderDetail" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_ChildPropName="GetSalesOrderDetailRows" />
      <msdata:Relationship name="FK_SalesOrderDetail_SalesOrderHeader_SalesOrderId" msdata:parent="SalesOrderHeader" msdata:child="SalesOrderDetail" msdata:parentkey="SalesOrderId" msdata:childkey="SalesOrderId" msprop:Generator_UserRelationName="FK_SalesOrderDetail_SalesOrderHeader_SalesOrderId" msprop:Generator_RelationVarName="relationFK_SalesOrderDetail_SalesOrderHeader_SalesOrderId" msprop:Generator_UserChildTable="SalesOrderDetail" msprop:Generator_UserParentTable="SalesOrderHeader" msprop:Generator_ParentPropName="SalesOrderHeaderRow" msprop:Generator_ChildPropName="GetSalesOrderDetailRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_Address_BillToAddressId" msdata:parent="Address" msdata:child="SalesOrderHeader" msdata:parentkey="AddressId" msdata:childkey="BillToAddressId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_Address_BillToAddressId" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_Address_BillToAddressId" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="Address" msprop:Generator_ParentPropName="AddressRowByFK_SalesOrderHeader_Address_BillToAddressId" msprop:Generator_ChildPropName="GetSalesOrderHeaderRowsByFK_SalesOrderHeader_Address_BillToAddressId" />
      <msdata:Relationship name="FK_SalesOrderHeader_Address_ShipToAddressId" msdata:parent="Address" msdata:child="SalesOrderHeader" msdata:parentkey="AddressId" msdata:childkey="ShipToAddressId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_Address_ShipToAddressId" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_Address_ShipToAddressId" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="Address" msprop:Generator_ParentPropName="AddressRowByFK_SalesOrderHeader_Address_ShipToAddressId" msprop:Generator_ChildPropName="GetSalesOrderHeaderRowsByFK_SalesOrderHeader_Address_ShipToAddressId" />
      <msdata:Relationship name="FK_SalesOrderHeader_Contact_ContactId" msdata:parent="Contact" msdata:child="SalesOrderHeader" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_Contact_ContactId" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_Contact_ContactId" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_Country" msdata:parent="Country" msdata:child="SalesOrderHeader" msdata:parentkey="CountryCode" msdata:childkey="CountryCode" msprop:Generator_UserRelationName="FK_SalesOrderHeader_Country" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_Country" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="Country" msprop:Generator_ParentPropName="CountryRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_CurrencyRate_CurrencyRateId" msdata:parent="CurrencyRate" msdata:child="SalesOrderHeader" msdata:parentkey="CurrencyRateId" msdata:childkey="CurrencyRateId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_CurrencyRate_CurrencyRateId" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_CurrencyRate_CurrencyRateId" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="CurrencyRate" msprop:Generator_ParentPropName="CurrencyRateRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_Customer_CustomerId" msdata:parent="Customer" msdata:child="SalesOrderHeader" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_Customer_CustomerId" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_Customer_CustomerId" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_SalesAgent" msdata:parent="SalesAgent" msdata:child="SalesOrderHeader" msdata:parentkey="SalesAgentId" msdata:childkey="SalesAgentId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_SalesAgent" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_SalesAgent" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="SalesAgent" msprop:Generator_ParentPropName="SalesAgentRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_SalesPerson_SalesPersonId" msdata:parent="SalesPerson" msdata:child="SalesOrderHeader" msdata:parentkey="SalesPersonId" msdata:childkey="SalesPersonId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_SalesPerson_SalesPersonId" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_SalesPerson_SalesPersonId" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="SalesPerson" msprop:Generator_ParentPropName="SalesPersonRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_ShipMethod_ShipMethodId" msdata:parent="ShipMethod" msdata:child="SalesOrderHeader" msdata:parentkey="ShipMethodId" msdata:childkey="ShipMethodId" msprop:Generator_UserRelationName="FK_SalesOrderHeader_ShipMethod_ShipMethodId" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_ShipMethod_ShipMethodId" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="ShipMethod" msprop:Generator_ParentPropName="ShipMethodRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
      <msdata:Relationship name="FK_SalesPerson_Employee_SalesPersonId" msdata:parent="Employee" msdata:child="SalesPerson" msdata:parentkey="EmployeeId" msdata:childkey="SalesPersonId" msprop:Generator_UserRelationName="FK_SalesPerson_Employee_SalesPersonId" msprop:Generator_RelationVarName="relationFK_SalesPerson_Employee_SalesPersonId" msprop:Generator_UserChildTable="SalesPerson" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRow" msprop:Generator_ChildPropName="GetSalesPersonRows" />
      <msdata:Relationship name="FK_SalesPersonCustomer_Customer" msdata:parent="Customer" msdata:child="SalesPersonCustomer" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_SalesPersonCustomer_Customer" msprop:Generator_RelationVarName="relationFK_SalesPersonCustomer_Customer" msprop:Generator_UserChildTable="SalesPersonCustomer" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetSalesPersonCustomerRows" />
      <msdata:Relationship name="FK_SalesPersonCustomer_SalesPerson" msdata:parent="SalesPerson" msdata:child="SalesPersonCustomer" msdata:parentkey="SalesPersonId" msdata:childkey="SalesPersonId" msprop:Generator_UserRelationName="FK_SalesPersonCustomer_SalesPerson" msprop:Generator_RelationVarName="relationFK_SalesPersonCustomer_SalesPerson" msprop:Generator_UserChildTable="SalesPersonCustomer" msprop:Generator_UserParentTable="SalesPerson" msprop:Generator_ParentPropName="SalesPersonRow" msprop:Generator_ChildPropName="GetSalesPersonCustomerRows" />
      <msdata:Relationship name="FK_Raf_Yer" msdata:parent="Location" msdata:child="Shelf" msdata:parentkey="LocationId" msdata:childkey="LocationId" msprop:Generator_UserRelationName="FK_Raf_Yer" msprop:Generator_RelationVarName="relationFK_Raf_Yer" msprop:Generator_UserChildTable="Shelf" msprop:Generator_UserParentTable="Location" msprop:Generator_ParentPropName="LocationRow" msprop:Generator_ChildPropName="GetShelfRows" />
      <msdata:Relationship name="FK_Authorization_Module" msdata:parent="Module" msdata:child="UserRights" msdata:parentkey="ModuleId" msdata:childkey="ModuleId" msprop:Generator_UserRelationName="FK_Authorization_Module" msprop:Generator_RelationVarName="relationFK_Authorization_Module" msprop:Generator_UserChildTable="UserRights" msprop:Generator_UserParentTable="Module" msprop:Generator_ParentPropName="ModuleRow" msprop:Generator_ChildPropName="GetUserRightsRows" />
      <msdata:Relationship name="FK_UserRights_Contact" msdata:parent="Contact" msdata:child="UserRights" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_UserRights_Contact" msprop:Generator_RelationVarName="relationFK_UserRights_Contact" msprop:Generator_UserChildTable="UserRights" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetUserRightsRows" />
      <msdata:Relationship name="FK_Vendor_PaymentTerm" msdata:parent="PaymentTerm" msdata:child="Vendor" msdata:parentkey="PaymentTermId" msdata:childkey="PreferredPaymentTerm" msprop:Generator_UserRelationName="FK_Vendor_PaymentTerm" msprop:Generator_RelationVarName="relationFK_Vendor_PaymentTerm" msprop:Generator_UserChildTable="Vendor" msprop:Generator_UserParentTable="PaymentTerm" msprop:Generator_ParentPropName="PaymentTermRow" msprop:Generator_ChildPropName="GetVendorRows" />
      <msdata:Relationship name="FK_VendorAddress_Address_AddressId" msdata:parent="Address" msdata:child="VendorAddress" msdata:parentkey="AddressId" msdata:childkey="AddressId" msprop:Generator_UserRelationName="FK_VendorAddress_Address_AddressId" msprop:Generator_RelationVarName="relationFK_VendorAddress_Address_AddressId" msprop:Generator_UserChildTable="VendorAddress" msprop:Generator_UserParentTable="Address" msprop:Generator_ParentPropName="AddressRow" msprop:Generator_ChildPropName="GetVendorAddressRows" />
      <msdata:Relationship name="FK_VendorAddress_AddressType_AddressTypeId" msdata:parent="AddressType" msdata:child="VendorAddress" msdata:parentkey="AddressTypeId" msdata:childkey="AddressTypeId" msprop:Generator_UserRelationName="FK_VendorAddress_AddressType_AddressTypeId" msprop:Generator_RelationVarName="relationFK_VendorAddress_AddressType_AddressTypeId" msprop:Generator_UserChildTable="VendorAddress" msprop:Generator_UserParentTable="AddressType" msprop:Generator_ParentPropName="AddressTypeRow" msprop:Generator_ChildPropName="GetVendorAddressRows" />
      <msdata:Relationship name="FK_VendorAddress_Vendor_VendorId" msdata:parent="Vendor" msdata:child="VendorAddress" msdata:parentkey="VendorId" msdata:childkey="VendorId" msprop:Generator_UserRelationName="FK_VendorAddress_Vendor_VendorId" msprop:Generator_RelationVarName="relationFK_VendorAddress_Vendor_VendorId" msprop:Generator_UserChildTable="VendorAddress" msprop:Generator_UserParentTable="Vendor" msprop:Generator_ParentPropName="VendorRow" msprop:Generator_ChildPropName="GetVendorAddressRows" />
      <msdata:Relationship name="FK_VendorBankAccount_BankAccount" msdata:parent="BankAccount" msdata:child="VendorBankAccount" msdata:parentkey="BankAccountId" msdata:childkey="BankAccountId" msprop:Generator_UserRelationName="FK_VendorBankAccount_BankAccount" msprop:Generator_RelationVarName="relationFK_VendorBankAccount_BankAccount" msprop:Generator_UserChildTable="VendorBankAccount" msprop:Generator_UserParentTable="BankAccount" msprop:Generator_ParentPropName="BankAccountRow" msprop:Generator_ChildPropName="GetVendorBankAccountRows" />
      <msdata:Relationship name="FK_VendorBankAccount_Vendor" msdata:parent="Vendor" msdata:child="VendorBankAccount" msdata:parentkey="VendorId" msdata:childkey="VendorId" msprop:Generator_UserRelationName="FK_VendorBankAccount_Vendor" msprop:Generator_RelationVarName="relationFK_VendorBankAccount_Vendor" msprop:Generator_UserChildTable="VendorBankAccount" msprop:Generator_UserParentTable="Vendor" msprop:Generator_ParentPropName="VendorRow" msprop:Generator_ChildPropName="GetVendorBankAccountRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>